[asterisk-commits] twilson: testsuite/asterisk/trunk r230 - /asterisk/trunk/runtests.py

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 16 00:16:25 CDT 2010


Author: twilson
Date: Fri Apr 16 00:16:23 2010
New Revision: 230

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=230
Log:
Handle tests that have no dependencies

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=230&r1=229&r2=230
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Fri Apr 16 00:16:23 2010
@@ -148,7 +148,7 @@
     def __check_deps(self, ast_version):
         self.deps = [
             Dependency(d)
-                for d in self.config["properties"]["dependencies"]
+                for d in self.config["properties"].get("dependencies") or []
         ]
 
         self.minversion_check = True




More information about the asterisk-commits mailing list