removed useless line of code

This commit is contained in:
Rudi Grinberg 2012-11-07 23:21:08 -05:00
parent ed00089a1a
commit 55f0462946
2 changed files with 2 additions and 2 deletions
python_apps/media-monitor2
media/saas
mm2.py

View File

@ -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

View File

@ -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']))