diff easyhg.py @ 372:2d3f1e5d8638

OS/X build fixes, for now slightly simpler (conceptually) situation in which we have a single bundle with two Python extension distributions in it, one for each active Python version
author Chris Cannam
date Thu, 24 Mar 2011 13:15:49 +0000
parents 19cce6d2c470
children 8530c31536a7
line wrap: on
line diff
--- a/easyhg.py	Thu Mar 24 10:47:03 2011 +0000
+++ b/easyhg.py	Thu Mar 24 13:15:49 2011 +0000
@@ -26,8 +26,8 @@
 if not easyhg_import_path.startswith('NO_'):
     # We have an installation path: append it twice, once with
     # the Python version suffixed
-    version_suffix = "Py" + sys.version_info[0] + "." + sys.version_info[1];
-    sys.path.append(easyhg_import_path + version_suffix)
+    version_suffix = "Py" + str(sys.version_info[0]) + "." + str(sys.version_info[1]);
+    sys.path.append(easyhg_import_path + "/" + version_suffix)
     sys.path.append(easyhg_import_path)
 
 # Try to load the PyQt4 module that we need.  If this fails, we should