##// END OF EJS Templates
config: avoid using a mutable default...
Martijn Pieters -
r31374:d30fb3de default
parent child Browse files
Show More
@@ -18,11 +18,11 b' from . import ('
18 18 )
19 19
20 20 class config(object):
21 def __init__(self, data=None, includepaths=[]):
21 def __init__(self, data=None, includepaths=None):
22 22 self._data = {}
23 23 self._source = {}
24 24 self._unset = []
25 self._includepaths = includepaths
25 self._includepaths = includepaths or []
26 26 if data:
27 27 for k in data._data:
28 28 self._data[k] = data[k].copy()
General Comments 0
You need to be logged in to leave comments. Login now