python: Correct building for python 2.6
authorAndy Grover <agrover@redhat.com>
Tue, 18 Dec 2012 18:56:53 +0000 (10:56 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 25 Mar 2014 03:34:16 +0000 (00:34 -0300)
Reported-by: Oz Nahum Tiram <nahumoz@gmail.com>
libkmod/python/setup.py

index 56fe5f8..757d962 100644 (file)
@@ -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'],
                 ))