Index: tools/checkperms/checkperms.py |
diff --git a/tools/checkperms/checkperms.py b/tools/checkperms/checkperms.py |
index 604c7f7dcf30050c417ea84a9299555d29559d20..1be437e6101cd63328fba513cf307c75bf421a0f 100755 |
--- a/tools/checkperms/checkperms.py |
+++ b/tools/checkperms/checkperms.py |
@@ -461,11 +461,9 @@ Examples: |
json.dump(errors, f) |
if errors: |
- if options.bare: |
- print '\n'.join(e['full_path'] for e in errors) |
- else: |
+ if not options.bare: |
print '\nFAILED\n' |
- print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) |
+ print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) |
return 1 |
if not options.bare: |
print '\nSUCCESS\n' |