From: Andy Grover <agrover@redhat.com>
Date: Tue, 18 Dec 2012 18:56:53 +0000 (-0800)
Subject: Correct building for python 2.6
X-Git-Tag: v0.9.1~4
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19cde0a9db325b0354ffcb9f47c3bfada126e6f6;p=python-kmod.git

Correct building for python 2.6

Reported-by: Oz Nahum Tiram <nahumoz@gmail.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
---

diff --git a/setup.py b/setup.py
index 56fe5f8..757d962 100644
--- 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'],
                 ))