[entropy.core] SystemSettings dict-like, drop has_key method (removed in Python 3.x)
This commit is contained in:
@@ -298,13 +298,6 @@ class SystemSettings(Singleton):
|
||||
with self.__mutex:
|
||||
return self.__data.get(mykey, alt_obj)
|
||||
|
||||
def has_key(self, mykey):
|
||||
"""
|
||||
dict method. See Python dict API reference.
|
||||
"""
|
||||
with self.__mutex:
|
||||
return mykey in self.__data
|
||||
|
||||
def copy(self):
|
||||
"""
|
||||
dict method. See Python dict API reference.
|
||||
|
||||
Reference in New Issue
Block a user