cc-4228: formatting

This commit is contained in:
Rudi Grinberg 2012-08-17 11:31:31 -04:00
parent 4a10fb2ecf
commit 10a7eae498
2 changed files with 6 additions and 7 deletions

View File

@ -10,7 +10,7 @@ from media.monitor.exceptions import BadSongFile
class PathChannel(object): class PathChannel(object):
def __init__(self, signal, path): def __init__(self, signal, path):
self.signal = signal self.signal = signal
self.path = path self.path = path
class EventRegistry(object): class EventRegistry(object):
""" """

View File

@ -19,9 +19,9 @@ class RequestSync(threading.Thread,Loggable):
""" """
def __init__(self, watcher, requests): def __init__(self, watcher, requests):
threading.Thread.__init__(self) threading.Thread.__init__(self)
self.watcher = watcher self.watcher = watcher
self.requests = requests self.requests = requests
self.retries = 1 self.retries = 1
self.request_wait = 0.3 self.request_wait = 0.3
@LazyProperty @LazyProperty
@ -124,9 +124,8 @@ class WatchSyncer(ReportHandler,Loggable):
try: try:
# If there is a strange bug anywhere in the code the next line # If there is a strange bug anywhere in the code the next line
# should be a suspect # should be a suspect
#if self.contractor.register( event ): if self.contractor.register(event): self.push_queue( event )
#self.push_queue( event ) #self.push_queue( event )
self.push_queue( event )
except BadSongFile as e: except BadSongFile as e:
self.fatal_exception("Received bas song file '%s'" % e.path, e) self.fatal_exception("Received bas song file '%s'" % e.path, e)
except Exception as e: except Exception as e: