Преглед изворни кода

Fix typo in 'split_env' error message

Signed-off-by: Klaas Hoekema <[email protected]>
Klaas Hoekema пре 6 година
родитељ
комит
088a798e7a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compose/config/environment.py

+ 1 - 1
compose/config/environment.py

@@ -26,7 +26,7 @@ def split_env(env):
         key = env
         key = env
     if re.search(r'\s', key):
     if re.search(r'\s', key):
         raise ConfigurationError(
         raise ConfigurationError(
-            "environment variable name '{}' may not contains whitespace.".format(key)
+            "environment variable name '{}' may not contain whitespace.".format(key)
         )
         )
     return key, value
     return key, value