|
@@ -151,6 +151,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|
try:
|
|
try:
|
|
status = archive.process_stdin(path, cache)
|
|
status = archive.process_stdin(path, cache)
|
|
except IOError as e:
|
|
except IOError as e:
|
|
|
|
+ status = 'E'
|
|
self.print_warning('%s: %s', path, e)
|
|
self.print_warning('%s: %s', path, e)
|
|
else:
|
|
else:
|
|
status = '-'
|
|
status = '-'
|
|
@@ -205,6 +206,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|
try:
|
|
try:
|
|
status = archive.process_file(path, st, cache)
|
|
status = archive.process_file(path, st, cache)
|
|
except IOError as e:
|
|
except IOError as e:
|
|
|
|
+ status = 'E'
|
|
self.print_warning('%s: %s', path, e)
|
|
self.print_warning('%s: %s', path, e)
|
|
elif stat.S_ISDIR(st.st_mode):
|
|
elif stat.S_ISDIR(st.st_mode):
|
|
if exclude_caches and is_cachedir(path):
|
|
if exclude_caches and is_cachedir(path):
|
|
@@ -214,6 +216,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|
try:
|
|
try:
|
|
entries = os.listdir(path)
|
|
entries = os.listdir(path)
|
|
except OSError as e:
|
|
except OSError as e:
|
|
|
|
+ status = 'E'
|
|
self.print_warning('%s: %s', path, e)
|
|
self.print_warning('%s: %s', path, e)
|
|
else:
|
|
else:
|
|
for filename in sorted(entries):
|
|
for filename in sorted(entries):
|