diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-27 00:30:41 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-27 00:30:41 +0000 |
| commit | 84210e78a9dce4b305ca1f00d92fa1de7d56fea9 (patch) | |
| tree | 882827eb7f6439f3dc08caa7aff95d026a26f684 | |
| parent | fad8271080340891b01c33a62d17d59233c10fb4 (diff) | |
Attempted fix to preservation of self.variables.
| -rwxr-xr-x | cdist | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,6 +25,7 @@ import argparse import datetime import subprocess import re +import copy class Error(Exception): def __init__(self, value): @@ -214,7 +215,7 @@ class Target(object): os.chdir(cwd) def build(self, project, options=None): - variables = self.variables + variables = copy.copy(self.variables) print 'Target %s builds %s with %s' % (self.platform, project.name, self.variables) project.cscript['build'](self, options) self.variables = variables |
