Commit fa28762a authored by Antoine Catton's avatar Antoine Catton

Minor: Copy options instead of passing reference.

parent c3ea8625
......@@ -42,11 +42,12 @@ class GenericBaseRecipe(object):
def __init__(self, buildout, name, options):
"""Recipe initialisation"""
self.name = name
self.options = options
self.buildout = buildout
self.logger = logging.getLogger(name)
self.options = options.copy() # If _options use self.optionIsTrue
self._options(options) # Options Hook
self.options = options.copy() # Updated options dict
self._ws = self.getWorkingSet()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment