Rename var in Settings.update()
This commit is contained in:
parent
879c01ba00
commit
ef8d1cfdc2
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ class Settings(object):
|
||||||
def get_dict(self):
|
def get_dict(self):
|
||||||
return {k: self[k] for k in self}
|
return {k: self[k] for k in self}
|
||||||
|
|
||||||
def update(self, other):
|
def update(self, updated_settings):
|
||||||
for k, v in other.iteritems():
|
for k, v in updated_settings.iteritems():
|
||||||
try:
|
try:
|
||||||
self.__setitem__(k, v)
|
self.__setitem__(k, v)
|
||||||
except (KeyError, AssertionError):
|
except (KeyError, AssertionError):
|
||||||
|
|
Loading…
Reference in a new issue