[reagent] fix output of "search" and "match" when --quiet is enabled

This commit is contained in:
Fabio Erculiani
2011-08-04 12:01:18 +02:00
parent a510cbe5e2
commit 2a88b2c2ac
+2 -2
View File
@@ -48,7 +48,7 @@ def query(myopts):
extended = True
)
if not count:
if (not count) and (not etpUi['quiet']):
print_warning(red(" * ")+red("%s." % (_("Nothing found"),) ))
rc = 0
@@ -71,7 +71,7 @@ def query(myopts):
extended = True
)
if not count:
if (not count) and (not etpUi['quiet']):
print_warning(red(" * ")+red("%s." % (_("Nothing found"),) ))
rc = 0