Update repo2docker/buildpacks/conda/__init__.py

Co-Authored-By: Tim Head <betatim@gmail.com>
pull/743/head
Min RK 2019-07-19 08:56:06 +02:00 zatwierdzone przez GitHub
rodzic 31da8e32b1
commit 930e907ac6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -145,7 +145,7 @@ class CondaBuildPack(BaseImage):
# check if the env file is empty, if so instantiate an empty dictionary.
if env is None:
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):
raise TypeError(
"environment.yml should contain a dictionary. Got %r" % type(env)