Fix debug message
This commit is contained in:
@@ -603,7 +603,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
|
|||||||
try:
|
try:
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
except:
|
except:
|
||||||
log.debug('Unable to remove ignore file: %s' % (filename, traceback.format_exc()))
|
log.debug('Unable to remove ignore file: %s. Error: %s.' % (filename, traceback.format_exc()))
|
||||||
|
|
||||||
def hastagRelease(self, release_download, tag = ''):
|
def hastagRelease(self, release_download, tag = ''):
|
||||||
if not release_download:
|
if not release_download:
|
||||||
@@ -651,7 +651,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
|
|||||||
link(old, dest)
|
link(old, dest)
|
||||||
except:
|
except:
|
||||||
# Try to simlink next
|
# Try to simlink next
|
||||||
log.debug('Couldn\'t hardlink file "%s" to "%s". Simlinking instead. Error: %s. ', (old, dest, traceback.format_exc()))
|
log.debug('Couldn\'t hardlink file "%s" to "%s". Simlinking instead. Error: %s.', (old, dest, traceback.format_exc()))
|
||||||
shutil.copy(old, dest)
|
shutil.copy(old, dest)
|
||||||
try:
|
try:
|
||||||
symlink(dest, old + '.link')
|
symlink(dest, old + '.link')
|
||||||
|
|||||||
Reference in New Issue
Block a user