Rev 4817: We were using a list, and comparing against a tuple, compare the same types. in http://bazaar.launchpad.net/~jameinel/bzr/minimum-pyrex

John Arbash Meinel john at arbash-meinel.com
Thu Mar 4 17:45:51 GMT 2010


At http://bazaar.launchpad.net/~jameinel/bzr/minimum-pyrex

------------------------------------------------------------
revno: 4817
revision-id: john at arbash-meinel.com-20100304174520-zmyxm680mwtw41kf
parent: john at arbash-meinel.com-20100303225921-trqn6j10kabpzii6
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: minimum-pyrex
timestamp: Thu 2010-03-04 11:45:20 -0600
message:
  We were using a list, and comparing against a tuple, compare the same types.
-------------- next part --------------
=== modified file 'setup.py'
--- a/setup.py	2010-02-17 16:54:55 +0000
+++ b/setup.py	2010-03-04 17:45:20 +0000
@@ -186,7 +186,7 @@
     from distutils.command.build_ext import build_ext
 else:
     have_pyrex = True
-    pyrex_version_info = map(int, pyrex_version.split('.'))
+    pyrex_version_info = tuple(map(int, pyrex_version.split('.')))
 
 
 class build_ext_if_possible(build_ext):



More information about the bazaar-commits mailing list