Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 840a2ad55f23b13c573f9b9257d5b9085e13e129
Author: Jakub Kadlčík <jkadlcik(a)redhat.com>
Date: Wed Sep 16 10:28:59 2015 +0200
[python] version_info is not namedtuple on epel6 interpreter
---------------------------------------------------------------
python/copr/client/client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/copr/client/client.py b/python/copr/client/client.py
index 16b366d..aa20647 100644
--- a/python/copr/client/client.py
+++ b/python/copr/client/client.py
@@ -18,7 +18,7 @@ from requests_toolbelt.multipart.encoder import MultipartEncoder
# urlparse from six is not available on el7
# because it requires at least python-six-1.4.1
-if sys.version_info.major == 2:
+if sys.version_info[0] == 2:
from urlparse import urlparse
else:
from urllib.parse import urlparse