libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1426065 - /libcloud/trunk/setup.py
Date Wed, 26 Dec 2012 22:31:07 GMT
Author: tomaz
Date: Wed Dec 26 22:31:07 2012
New Revision: 1426065

URL: http://svn.apache.org/viewvc?rev=1426065&view=rev
Log:
Fix the if.

Modified:
    libcloud/trunk/setup.py

Modified: libcloud/trunk/setup.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/setup.py?rev=1426065&r1=1426064&r2=1426065&view=diff
==============================================================================
--- libcloud/trunk/setup.py (original)
+++ libcloud/trunk/setup.py Wed Dec 26 22:31:07 2012
@@ -132,7 +132,7 @@ class TestCommand(Command):
             for t in glob(pjoin(self._dir, test_path, 'test_*.py')):
                 if (sys.version_info >= (3, 2) and sys.version_info < (3, 3) or
                     sys.version_info >= (2, 5) and sys.version_info < (2, 6)) \
-                        and t.find('test_local'):
+                        and t.find('test_local') == 0:
                     # Lockfile doesn't work with 2.5 and 3.2. Temporary disable
                     # local_storage test until fixes have been submitted
                     # upstream



Mime
View raw message