(variables, the_dict)
| 1246 | |
| 1247 | |
| 1248 | def LoadAutomaticVariablesFromDict(variables, the_dict): |
| 1249 | # Any keys with plain string values in the_dict become automatic variables. |
| 1250 | # The variable name is the key name with a "_" character prepended. |
| 1251 | for key, value in the_dict.items(): |
| 1252 | if type(value) in (str, int, list): |
| 1253 | variables["_" + key] = value |
| 1254 | |
| 1255 | |
| 1256 | def LoadVariablesFromVariablesDict(variables, the_dict, the_dict_key): |
no test coverage detected
searching dependent graphs…