diff options
Diffstat (limited to 'config/linux2-config.py')
-rw-r--r-- | config/linux2-config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/linux2-config.py b/config/linux2-config.py index b0c989f1b5c..6d207dc40e6 100644 --- a/config/linux2-config.py +++ b/config/linux2-config.py @@ -10,7 +10,7 @@ def py_version_string(): ''' import platform ver = platform.python_version_tuple() - return '%d.%d' % (ver[0], ver[1]) + return '%d.%d' % (int(ver[0]), int(ver[1])) # py2.5 uses strings, 2.6 ints BF_PYTHON = '/usr' BF_PYTHON_VERSION = py_version_string() |