diff tests/hghave.py @ 26068:05e7f57c74ac

hghave: remove quiet option The --quiet flag appears to be unused. Kill it.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 22 Aug 2015 10:37:38 -0700
parents 8107c308ff22
children bad09bd22b6a
line wrap: on
line diff
--- a/tests/hghave.py	Sat Aug 22 10:28:34 2015 -0700
+++ b/tests/hghave.py	Sat Aug 22 10:37:38 2015 -0700
@@ -47,17 +47,16 @@
 
     return result
 
-def require(features, quiet=False):
+def require(features):
     """Require that features are available, exiting if not."""
     result = checkfeatures(features)
 
-    if not quiet:
-        for missing in result['missing']:
-            sys.stderr.write('skipped: unknown feature: %s\n' % missing)
-        for msg in result['skipped']:
-            sys.stderr.write('skipped: %s\n' % msg)
-        for msg in result['error']:
-            sys.stderr.write('%s\n' % msg)
+    for missing in result['missing']:
+        sys.stderr.write('skipped: unknown feature: %s\n' % missing)
+    for msg in result['skipped']:
+        sys.stderr.write('skipped: %s\n' % msg)
+    for msg in result['error']:
+        sys.stderr.write('%s\n' % msg)
 
     if result['missing']:
         sys.exit(2)