equal
deleted
inserted
replaced
16 pycompat, |
16 pycompat, |
17 util, |
17 util, |
18 ) |
18 ) |
19 |
19 |
20 class config(object): |
20 class config(object): |
21 def __init__(self, data=None, includepaths=[]): |
21 def __init__(self, data=None, includepaths=None): |
22 self._data = {} |
22 self._data = {} |
23 self._source = {} |
23 self._source = {} |
24 self._unset = [] |
24 self._unset = [] |
25 self._includepaths = includepaths |
25 self._includepaths = includepaths or [] |
26 if data: |
26 if data: |
27 for k in data._data: |
27 for k in data._data: |
28 self._data[k] = data[k].copy() |
28 self._data[k] = data[k].copy() |
29 self._source = data._source.copy() |
29 self._source = data._source.copy() |
30 def copy(self): |
30 def copy(self): |