Make PEP8 cleanup of line spaces and character distances as well as indents
This commit is contained in:
parent
7ff783fea1
commit
b278337172
189 changed files with 2039 additions and 1583 deletions
|
|
@ -23,11 +23,13 @@ _SA = object.__setattr__
|
|||
_GA = object.__getattribute__
|
||||
_DA = object.__delattr__
|
||||
|
||||
|
||||
class MonitorHandler(object):
|
||||
"""
|
||||
This is a resource singleton that allows for registering
|
||||
callbacks for when a field or Attribute is updated (saved).
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""
|
||||
Initialize the handler.
|
||||
|
|
@ -149,7 +151,6 @@ class MonitorHandler(object):
|
|||
else:
|
||||
self.monitors[obj][fieldname][idstring] = (callback, persistent, kwargs)
|
||||
|
||||
|
||||
def remove(self, obj, fieldname, idstring=""):
|
||||
"""
|
||||
Remove a monitor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue