You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/12/26 23:31:07 UTC

svn commit: r1426065 - /libcloud/trunk/setup.py

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