Use super for calling parent __init__ methods

This commit is contained in:
Calen Pennington
2013-07-01 16:25:55 -04:00
parent 573abb8091
commit d75a901aaa
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ WATCH_DIRS = [os.path.abspath(os.path.normpath(dir)) for dir in WATCH_DIRS]
class DjangoEventHandler(FileSystemEventHandler):
def __init__(self, process):
FileSystemEventHandler.__init__(self)
super(DjangoEventHandler, self).__init__()
self.process = process