cc-4105: removed old debug statements
This commit is contained in:
parent
ab658a3800
commit
9015b93527
|
@ -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))
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue