Mercurial > hg > easyhg
diff easyhg.py @ 374:1c7281288303
Merge
author | Chris Cannam |
---|---|
date | Thu, 24 Mar 2011 13:20:43 +0000 |
parents | 2d3f1e5d8638 |
children | 8530c31536a7 |
line wrap: on
line diff
--- a/easyhg.py Thu Mar 24 13:20:33 2011 +0000 +++ b/easyhg.py Thu Mar 24 13:20:43 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