[asterisk-commits] mnicholson: branch mnicholson/fancy-versions r2410 - /asterisk/team/mnicholso...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 22 14:11:48 CDT 2011


Author: mnicholson
Date: Thu Sep 22 14:11:44 2011
New Revision: 2410

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2410
Log:
make minversion optional

Modified:
    asterisk/team/mnicholson/fancy-versions/runtests.py

Modified: asterisk/team/mnicholson/fancy-versions/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mnicholson/fancy-versions/runtests.py?view=diff&rev=2410&r1=2409&r2=2410
==============================================================================
--- asterisk/team/mnicholson/fancy-versions/runtests.py (original)
+++ asterisk/team/mnicholson/fancy-versions/runtests.py Thu Sep 22 14:11:44 2011
@@ -185,8 +185,9 @@
                     continue
 
                 print "--> Cannot run test '%s'" % t.test_name
-                print "--- --> Minimum Version: %s (%s)" % \
-                    (str(t.test_config.minversion), str(t.test_config.minversion_check))
+		if t.test_config.minversion is not None:
+			print "--- --> Minimum Version: %s (%s)" % \
+			    (str(t.test_config.minversion), str(t.test_config.minversion_check))
                 if t.test_config.maxversion is not None:
                     print "--- --> Maximum Version: %s (%s)" % \
                         (str(t.test_config.maxversion), str(t.test_config.maxversion_check))




More information about the asterisk-commits mailing list