Correct building for python 2.6
authorAndy Grover <agrover@redhat.com>
Tue, 18 Dec 2012 18:56:53 +0000 (10:56 -0800)
committerAndy Grover <agrover@redhat.com>
Tue, 18 Dec 2012 18:57:25 +0000 (10:57 -0800)
Reported-by: Oz Nahum Tiram <nahumoz@gmail.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
setup.py

index 56fe5f81cee55f854830f5790dfcb4c256a8c8be..757d962b185e481061c4908b9d382d27ad6994fb 100644 (file)
--- a/setup.py
+++ b/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'],
                 ))