Constants'dan silmek istediğimizde doğru olanı yapsın ve _const'a göndersin bizi :)
This commit is contained in:
@@ -40,6 +40,8 @@ class Constants:
|
|||||||
def __setattr__(self, attr, value):
|
def __setattr__(self, attr, value):
|
||||||
return setattr(self.c, attr, value)
|
return setattr(self.c, attr, value)
|
||||||
|
|
||||||
|
def __delattr__(self, attr):
|
||||||
|
return delattr(self.c, attr)
|
||||||
|
|
||||||
class Context(object):
|
class Context(object):
|
||||||
"""Config/Context Singleton"""
|
"""Config/Context Singleton"""
|
||||||
|
|||||||
Reference in New Issue
Block a user