Show More
@@ -44,8 +44,11 b' class bundlespec:' | |||||
44 | # kept for Backward Compatibility concerns. |
|
44 | # kept for Backward Compatibility concerns. | |
45 | return self.params |
|
45 | return self.params | |
46 |
|
46 | |||
47 | def set_param(self, key, value): |
|
47 | def set_param(self, key, value, overwrite=True): | |
48 |
""" |
|
48 | """Set a bundle parameter value. | |
|
49 | ||||
|
50 | Will only overwrite if overwrite is true""" | |||
|
51 | if overwrite or key not in self._explicit_params: | |||
49 | self._explicit_params[key] = value |
|
52 | self._explicit_params[key] = value | |
50 |
|
53 | |||
51 |
|
54 |
General Comments 0
You need to be logged in to leave comments.
Login now