From 9015b935275e2f6d7d51518be5d6e82291e8ffda Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 10 Aug 2012 11:44:09 -0400 Subject: [PATCH] cc-4105: removed old debug statements --- python_apps/media-monitor2/media/monitor/listeners.py | 1 - python_apps/media-monitor2/media/monitor/organizer.py | 1 - python_apps/media-monitor2/media/monitor/pure.py | 1 - 3 files changed, 3 deletions(-) diff --git a/python_apps/media-monitor2/media/monitor/listeners.py b/python_apps/media-monitor2/media/monitor/listeners.py index b5cb4fc9f..9fa75ba78 100644 --- a/python_apps/media-monitor2/media/monitor/listeners.py +++ b/python_apps/media-monitor2/media/monitor/listeners.py @@ -108,7 +108,6 @@ class OrganizeListener(BaseListener, pyinotify.ProcessEvent, Loggable): @mediate_ignored @IncludeOnly(mmp.supported_extensions) def process_to_organize(self, event): - print("I AM COMPLETELY INNOCENT") import ipdb; ipdb.set_trace() dispatcher.send(signal=self.signal, sender=self, event=OrganizeFile(event)) diff --git a/python_apps/media-monitor2/media/monitor/organizer.py b/python_apps/media-monitor2/media/monitor/organizer.py index f014b2269..7cc9ac647 100644 --- a/python_apps/media-monitor2/media/monitor/organizer.py +++ b/python_apps/media-monitor2/media/monitor/organizer.py @@ -30,7 +30,6 @@ class Organizer(ReportHandler,Loggable): # We must select the target_path based on whether file was recorded # by airtime or not. # Do we need to "massage" the path using mmp.organized_path? - print("Organizing: %s" % event.path) target_path = self.recorded_path if event.metadata.is_recorded() \ else self.target_path new_path = mmp.organized_path(event.path, target_path, diff --git a/python_apps/media-monitor2/media/monitor/pure.py b/python_apps/media-monitor2/media/monitor/pure.py index baeb47a80..6b5acf946 100644 --- a/python_apps/media-monitor2/media/monitor/pure.py +++ b/python_apps/media-monitor2/media/monitor/pure.py @@ -138,7 +138,6 @@ def magic_move(old, new): Moves path old to new and constructs the necessary to directories for new along the way """ - print("'%s' ==> '%s'" % (old, new)) new_dir = os.path.dirname(new) if not os.path.exists(new_dir): os.makedirs(new_dir) shutil.move(old,new)