Skip to content

Commit

Permalink
Use a smaller set of variables for step signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Feb 9, 2017
1 parent 7fd9632 commit a909085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sos/sos_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ def step_signature(self, index):
if env.sig_mode == 'ignore':
return None
env_vars = []
for var in sorted(env.sos_dict['__environ_vars__']):
for var in sorted(env.sos_dict['__signature_vars__']):
if var in env.sos_dict and isinstance(env.sos_dict[var], (str, bool, int, float, complex, bytes, list, tuple, set, dict)):
env_vars.append('{} = {}\n'.format(var, stable_repr(env.sos_dict[var])))

Expand Down

0 comments on commit a909085

Please sign in to comment.