Skip to content
Snippets Groups Projects
Commit 47a918a1 authored by sveseli's avatar sveseli
Browse files

more logging for metadata collector

parent cf16bd83
No related branches found
Tags 2.0.0
No related merge requests found
......@@ -33,7 +33,9 @@ class MetadataCollector:
return fileInfo
def processMd5Sum(self, filePath, fileInfo, statUtility):
self.logger.debug('Processing md5Sum for file %s' % (filePath))
if not self.md5Sum or not statUtility:
self.logger.debug('Will not calculate md5Sum for file %s: md5Sum flag is set to %s, statUtility is %s ' % (filePath, self.md5Sum, statUtility))
return fileInfo
if not fileInfo.has_key('md5Sum'):
fileInfo['md5Sum'] = statUtility.getMd5Sum(filePath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment