kopia lustrzana https://github.com/jupyterhub/repo2docker
Update repo2docker/buildpacks/conda/__init__.py
Co-Authored-By: Tim Head <betatim@gmail.com>pull/743/head
rodzic
31da8e32b1
commit
930e907ac6
|
@ -145,7 +145,7 @@ class CondaBuildPack(BaseImage):
|
||||||
# check if the env file is empty, if so instantiate an empty dictionary.
|
# check if the env file is empty, if so instantiate an empty dictionary.
|
||||||
if env is None:
|
if env is None:
|
||||||
env = {}
|
env = {}
|
||||||
# check if the env file provided a dick-like thing not a list or other data structure.
|
# check if the env file provided a dict-like thing not a list or other data structure.
|
||||||
if not isinstance(env, Mapping):
|
if not isinstance(env, Mapping):
|
||||||
raise TypeError(
|
raise TypeError(
|
||||||
"environment.yml should contain a dictionary. Got %r" % type(env)
|
"environment.yml should contain a dictionary. Got %r" % type(env)
|
||||||
|
|
Ładowanie…
Reference in New Issue