removed useless line of code
This commit is contained in:
parent
ed00089a1a
commit
55f0462946
|
@ -21,3 +21,5 @@ class InstanceInheritingThread(threading.Thread, HasUser):
|
|||
def user():
|
||||
try: return threading.current_thread().user()
|
||||
except AttributeError: raise UserlessThread()
|
||||
|
||||
def apc(): return user().api_client
|
||||
|
|
|
@ -124,8 +124,6 @@ def main(global_config, api_client_config, log_config,
|
|||
airtime_receiver.new_watch({ 'directory':watch_dir }, restart=True)
|
||||
else: log.info("Failed to add watch on %s" % str(watch_dir))
|
||||
|
||||
bs = Bootstrapper( db=sdb, watch_signal='watch' )
|
||||
|
||||
ed = EventDrainer(airtime_notifier.connection,
|
||||
interval=float(config['rmq_event_wait']))
|
||||
|
||||
|
|
Loading…
Reference in New Issue