##// END OF EJS Templates
%env 'append on set' bug fixed, strip spaces to allow %env A = 10 instead of %env A=10
vivainio -
Show More
@@ -56,7 +56,7 b" def persist_env(self, parameter_s=''):"
56 parts = parameter_s.strip().split('=')
56 parts = parameter_s.strip().split('=')
57
57
58 if len(parts) == 2:
58 if len(parts) == 2:
59 k,v = parts
59 k,v = [p.strip() for p in parts]
60
60
61 if v == '<del>':
61 if v == '<del>':
62 if k in env['set']:
62 if k in env['set']:
@@ -81,7 +81,7 b" def persist_env(self, parameter_s=''):"
81 else:
81 else:
82 env['set'][k] = v
82 env['set'][k] = v
83 print "Setting",k,"to",v
83 print "Setting",k,"to",v
84 os.environ[k] = os.environ.get(k,"") + v
84 os.environ[k] = v
85
85
86 db['stored_env'] = env
86 db['stored_env'] = env
87
87
General Comments 0
You need to be logged in to leave comments. Login now