浏览代码

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
     if re.search(r'\s', key):
         raise ConfigurationError(
-            "environment variable name '{}' may not contains whitespace.".format(key)
+            "environment variable name '{}' may not contain whitespace.".format(key)
         )
     return key, value