CC-2279: Upgrade script for converting stor directory to new format

-in progress...
This commit is contained in:
martin 2011-07-14 15:31:19 -04:00
parent 75e56034e4
commit 621c85b1df
3 changed files with 79 additions and 20 deletions

View file

@ -237,9 +237,9 @@ class MediaMonitorCommon:
filepath = self.create_file_path(pathname, file_md)
self.logger.debug(u"Moving from %s to %s", pathname, filepath)
self.move_file(pathname, filepath)
#self.move_file(pathname, filepath)
else:
filepath = None
self.logger.warn("File %s, has invalid metadata", pathname)
return filepath
return filepath