summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2015-08-16 19:00:00 +0200
committerChristian Heimes <cheimes@redhat.com>2015-08-17 21:14:11 +0200
commit34664e5bc81195113e5b55ab526768a846347f5c (patch)
treec261e5434245802d75a4b41dc66130e46411fdfd /specs
parentf98ca7fa1903e12a4b2c49a70163077b3560dc1d (diff)
downloadpki-34664e5bc81195113e5b55ab526768a846347f5c.tar.gz
pki-34664e5bc81195113e5b55ab526768a846347f5c.tar.xz
pki-34664e5bc81195113e5b55ab526768a846347f5c.zip
Py3 modernization: libmodernize.fixes.fix_input_six
In Python 3 raw_input() has been renamed to input() and the old, insecure input() builtin is gone. six.moves simplifies the transition. It provides the former raw_input() function under the same import name on Python 2 and 3.
Diffstat (limited to 'specs')
-rw-r--r--specs/pki-core.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec
index a872b1b6e..15e8b040d 100644
--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -107,6 +107,7 @@ BuildRequires: pylint
BuildRequires: python-nss
BuildRequires: python-requests
+BuildRequires: python-six
BuildRequires: libselinux-python
BuildRequires: policycoreutils-python
%if 0%{?fedora} >= 23
@@ -286,6 +287,7 @@ Requires: ldapjdk
Requires: python-ldap
Requires: python-lxml
Requires: python-requests >= 1.1.0-3
+Requires: python-six
%if 0%{?rhel}
# 'resteasy-base' is a subset of the complete set of