diff --git a/python_apps/media-monitor2/media/monitor/airtime.py b/python_apps/media-monitor2/media/monitor/airtime.py index fa23d2fbd..19659ed21 100644 --- a/python_apps/media-monitor2/media/monitor/airtime.py +++ b/python_apps/media-monitor2/media/monitor/airtime.py @@ -191,7 +191,7 @@ class AirtimeMessageReceiver(Loggable): # request that we'd normally get form pyinotify. But right # now event contractor would take care of this sort of # thing anyway so this might not be necessary after all - user().file_mediator.ignore(msg['filepath']) + #user().file_mediator.ignore(msg['filepath']) os.unlink(msg['filepath']) # Verify deletion: if not os.path.exists(msg['filepath']): diff --git a/python_apps/media-monitor2/media/monitor/listeners.py b/python_apps/media-monitor2/media/monitor/listeners.py index 5757b9203..86b74bcea 100644 --- a/python_apps/media-monitor2/media/monitor/listeners.py +++ b/python_apps/media-monitor2/media/monitor/listeners.py @@ -17,6 +17,8 @@ from media.saas.thread import getsig, user # OrganizeListener(signal='watch_signal') <= right class FileMediator(Loggable): + # TODO : this class is not actually used. remove all references to it + # everywhere (including tests). """ FileMediator is used an intermediate mechanism that filters out certain events. """ def __init__(self) : self.ignored_set = set([]) # for paths only