Browse Source

Intermediate changes
commit_hash:be9690e5673e777fde1c498f710fe068434e07cd

robot-piglet 4 months ago
parent
commit
b96dac4344
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yt/python/yt/common.py

+ 1 - 1
yt/python/yt/common.py

@@ -641,7 +641,7 @@ def flatten(obj, list_types=(list, tuple, set, frozenset, types.GeneratorType)):
 
 
 def update_from_env(variables):
-    """Update variables dict from environment."""
+    """Update variables dict from environment (cuts name prefix "YT_")."""
     for key, value in iteritems(os.environ):
         prefix = "YT_"
         if not key.startswith(prefix):