Skip to content

Commit

Permalink
Hide Not packaged/installed fs diff error messages behind --verbose.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-antill committed May 5, 2016
1 parent 557f9d0 commit 1250429
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions yumcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -4792,7 +4792,8 @@ def deal_with_file(fpath):
elif fpath in pfr['ghost']:
pass
elif fpath in pfr['not']:
print >>sys.stderr, _('Not installed:'), fpath
if base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3):
print >>sys.stderr, _('Not installed:'), fpath
elif fpath in pfr['miss']:
pass
elif fpath in pfr['mod']:
Expand All @@ -4807,7 +4808,7 @@ def deal_with_file(fpath):
print diff_cmd
sys.stdout.flush()
os.system(diff_cmd)
else:
elif base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3):
print >>sys.stderr, _('Not packaged?:'), fpath

if not distutils.spawn.find_executable("diff"):
Expand Down

0 comments on commit 1250429

Please sign in to comment.