[py-svn] r35406 - py/dist/py/test/rsession

fijal at codespeak.net fijal at codespeak.net
Wed Dec 6 18:27:59 CET 2006


Author: fijal
Date: Wed Dec  6 18:27:56 2006
New Revision: 35406

Modified:
   py/dist/py/test/rsession/rest.py
Log:
Don't show unknow results when verbose is not on.


Modified: py/dist/py/test/rsession/rest.py
==============================================================================
--- py/dist/py/test/rsession/rest.py	(original)
+++ py/dist/py/test/rsession/rest.py	Wed Dec  6 18:27:56 2006
@@ -22,7 +22,8 @@
         return self.linkwriter
         
     def report_unknown(self, what):
-        self.add_rest(Paragraph("Unknown report: %s" % what))
+        if self.config.option.verbose:
+            self.add_rest(Paragraph("Unknown report: %s" % what))
 
     def report_SendItem(self, item):
         address = self.get_host(item)


More information about the py-svn mailing list