aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-12-18 10:56:53 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-25 00:34:16 -0300
commit8e73a86d6e1b74484c7f21929f6542ed610af0d3 (patch)
tree78061a8e23b772ea210ab52ad68221d5fd602bac
parentf0d6f3701ab912673bd313f934ae9dcb32328f03 (diff)
downloadkmod-8e73a86d6e1b74484c7f21929f6542ed610af0d3.tar.gz
python: Correct building for python 2.6
Reported-by: Oz Nahum Tiram <nahumoz@gmail.com>
-rw-r--r--libkmod/python/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py
index 56fe5f8..757d962 100644
--- a/libkmod/python/setup.py
+++ b/libkmod/python/setup.py
@@ -39,7 +39,7 @@ for filename in sorted(_os.listdir(package_name)):
if extension == '.pyx':
ext_modules.append(
_Extension(
- '{}.{}'.format(package_name, basename),
+ '{0}.{1}'.format(package_name, basename),
[_os.path.join(package_name, filename)],
libraries=['kmod'],
))