Skip to content
Snippets Groups Projects
Commit 5d14f504 authored by sveseli's avatar sveseli
Browse files

fixes from 0.9

parents 69525966 759724ab
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ class FileProcessingThread(threading.Thread):
endProcessingTime = time.time()
if statusMonitor:
statusMonitor.fileProcessingError(filePath, processingError, endProcessingTime)
self.logger.debug('No more %s retries left for file %s' % (processorName, filePath))
self.logger.debug('No more %s retries left for file %s, remaining plugins will not process it' % (processorName, filePath))
return
else:
retryWaitPeriod = processor.getRetryWaitPeriodInSeconds()
self.logger.debug('%s will retry processing file %s in %s seconds' % (processorName, filePath, retryWaitPeriod))
......
......@@ -9,7 +9,7 @@ class FileUtility:
@classmethod
def getMd5Sum(cls, filePath, fileInfo={}):
p = DmSubprocess.getSubprocess('md5sum %s' % filePath)
p = DmSubprocess.getSubprocess('md5sum "%s"' % filePath)
p.run()
md5Sum = p.getStdOut().split()[0]
fileInfo['md5Sum'] = md5Sum
......
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