You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by je...@apache.org on 2011/01/05 03:58:52 UTC

svn commit: r1055278 - /incubator/libcloud/trunk/setup.py

Author: jerry
Date: Wed Jan  5 02:58:52 2011
New Revision: 1055278

URL: http://svn.apache.org/viewvc?rev=1055278&view=rev
Log:
setup.py dependency check only exits if modules are missing

Modified:
    incubator/libcloud/trunk/setup.py

Modified: incubator/libcloud/trunk/setup.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/setup.py?rev=1055278&r1=1055277&r2=1055278&view=diff
==============================================================================
--- incubator/libcloud/trunk/setup.py (original)
+++ incubator/libcloud/trunk/setup.py Wed Jan  5 02:58:52 2011
@@ -57,8 +57,10 @@ class TestCommand(Command):
                 import ssl
             except ImportError:
                 missing.append("ssl")
-            print "Missing dependencies: %s" % ", ".join(missing)
-            sys.exit(1)
+
+            if missing:
+                print "Missing dependencies: %s" % ", ".join(missing)
+                sys.exit(1)
 
         testfiles = []
         for t in glob(pjoin(self._dir, 'test', 'test_*.py')):