Merge pull request #19 from vain/increase-verbosity

Increase verbosity
This commit is contained in:
Łukasz Langa 2016-10-29 15:02:31 -07:00 committed by GitHub
commit 8cfdf0cfc1

View File

@ -201,7 +201,6 @@ class Bitrot(object):
# The file disappeared between listing existing paths and
# this run or is (temporarily?) locked with different
# permissions. We'll just skip it for now.
if self.verbosity:
print(
'\rwarning: `{}` is currently unavailable for '
'reading: {}'.format(
@ -222,7 +221,6 @@ class Bitrot(object):
try:
new_sha1 = sha1(p, self.chunk_size)
except (IOError, OSError) as e:
if self.verbosity:
print(
'\rwarning: cannot compute hash of {} [{}]'.format(
p, errno.errorcode[e.args[0]],