<86>Dec 6 04:48:53 userdel[3914929]: delete user 'rooter' <86>Dec 6 04:48:53 groupadd[3914934]: group added to /etc/group: name=rooter, GID=663 <86>Dec 6 04:48:53 groupadd[3914934]: group added to /etc/gshadow: name=rooter <86>Dec 6 04:48:53 groupadd[3914934]: new group: name=rooter, GID=663 <86>Dec 6 04:48:53 useradd[3914938]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Dec 6 04:48:53 userdel[3914945]: delete user 'builder' <86>Dec 6 04:48:53 userdel[3914945]: removed group 'builder' owned by 'builder' <86>Dec 6 04:48:53 userdel[3914945]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 04:48:53 groupadd[3914950]: group added to /etc/group: name=builder, GID=664 <86>Dec 6 04:48:53 groupadd[3914950]: group added to /etc/gshadow: name=builder <86>Dec 6 04:48:53 groupadd[3914950]: new group: name=builder, GID=664 <86>Dec 6 04:48:53 useradd[3914954]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Dec 6 04:48:55 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 6 04:48:55 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 6 04:48:55 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:48:55 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 6 04:48:55 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:48:55 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:48:55 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 6 04:48:55 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 6 04:48:55 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:48:55 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 04:48:55 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 04:48:55 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:48:55 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:48:56 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:48:56 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 6 04:48:56 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 6 04:48:56 rpmi: rpm-macros-sphinx-1:1.6.5-alt8 p9+250806.100.2.1 1588178467 installed <13>Dec 6 04:48:59 rpmi: libtcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Dec 6 04:48:59 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Dec 6 04:48:59 rpmi: tcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Dec 6 04:48:59 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 6 04:48:59 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Dec 6 04:48:59 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 p9+229421.100.1.1 1557927689 installed <13>Dec 6 04:48:59 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Dec 6 04:48:59 rpmi: python-module-markupsafe-1.1.1-alt1 p9+254838.60.14.1 1602882123 installed <13>Dec 6 04:48:59 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Dec 6 04:48:59 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:48:59 rpmi: libxapian-1.4.15-alt1 p9+258827.100.1.1 1601305414 installed <13>Dec 6 04:48:59 rpmi: libsqlite3-3.33.0-alt1 p9+258834.40.2.1 1601364885 installed <13>Dec 6 04:48:59 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 6 04:48:59 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 6 04:48:59 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:48:59 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 6 04:48:59 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 6 04:48:59 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Dec 6 04:48:59 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 6 04:48:59 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 6 04:48:59 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Dec 6 04:48:59 groupadd[3920257]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 6 04:48:59 groupadd[3920257]: group added to /etc/gshadow: name=_keytab <86>Dec 6 04:48:59 groupadd[3920257]: new group: name=_keytab, GID=499 <13>Dec 6 04:49:00 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Dec 6 04:49:00 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 6 04:49:00 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 6 04:49:00 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Dec 6 04:49:00 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 6 04:49:00 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-module-jinja2-2.11.2-alt1 p9+254838.40.14.1 1602882082 installed <13>Dec 6 04:49:00 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Dec 6 04:49:00 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Dec 6 04:49:00 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Dec 6 04:49:00 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:00 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Dec 6 04:49:00 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Dec 6 04:49:00 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Dec 6 04:49:00 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Dec 6 04:49:00 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Dec 6 04:49:00 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>Dec 6 04:49:00 rpmi: python-module-lxml-4.4.2-alt1 p9+244111.100.1.1 1578758711 installed <13>Dec 6 04:49:00 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Dec 6 04:49:00 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Dec 6 04:49:00 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Dec 6 04:49:00 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Dec 6 04:49:00 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Dec 6 04:49:01 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Dec 6 04:49:01 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Dec 6 04:49:01 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555299604 installed <13>Dec 6 04:49:01 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Dec 6 04:49:01 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>Dec 6 04:49:01 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Dec 6 04:49:01 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Dec 6 04:49:01 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 6 04:49:01 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 6 04:49:01 rpmi: python-module-urllib3-2:1.25.6-alt1 p9+250567.200.5.1 1590420860 installed <13>Dec 6 04:49:01 rpmi: python-module-requests-2.23.0-alt1 p9+250567.400.5.1 1590420890 installed <13>Dec 6 04:49:01 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Dec 6 04:49:01 rpmi: python-modules-sqlite3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:01 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>Dec 6 04:49:01 rpmi: python-module-xapian-1.4.15-alt1 p9+258827.200.2.1 1601308059 installed <13>Dec 6 04:49:01 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt5 p9+247680.340.15.1 1585331199 installed <13>Dec 6 04:49:01 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Dec 6 04:49:01 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Dec 6 04:49:01 rpmi: python-module-sphinx-1:1.6.5-alt8 p9+250806.100.2.1 1588178467 installed <13>Dec 6 04:49:01 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 04:49:01 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Dec 6 04:49:01 rpmi: libharfbuzz-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed <13>Dec 6 04:49:01 rpmi: libfreetype-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971391 installed <13>Dec 6 04:49:01 rpmi: fontconfig-2.13.1-alt1 p9+247340.200.3.1 1583400482 installed Updating fonts cache: <29>Dec 6 04:49:03 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 6 04:49:03 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 04:49:03 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 6 04:49:03 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 04:49:03 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 04:49:03 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 04:49:03 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 6 04:49:03 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Dec 6 04:49:03 rpmi: libtk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Dec 6 04:49:03 rpmi: tk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Dec 6 04:49:03 rpmi: python-modules-tkinter-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:03 rpmi: python-module-epydoc-1:3.0.1-alt3 1502472850 installed <13>Dec 6 04:49:03 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.nosrc.rpm <13>Dec 6 04:49:06 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:06 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Dec 6 04:49:06 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:49:06 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.55851 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-repoze.who.plugins.ldap-1.1a1 + echo 'Source #0 (python-module-repoze.who.plugins.ldap-1.1a1.tar):' Source #0 (python-module-repoze.who.plugins.ldap-1.1a1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-repoze.who.plugins.ldap-1.1a1.tar + cd python-module-repoze.who.plugins.ldap-1.1a1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/repoze/who/plugins/ldap/tests.py RefactoringTool: Refactored ../python3/repoze/who/plugins/ldap/plugins.py RefactoringTool: No changes to ../python3/repoze/who/plugins/ldap/__init__.py RefactoringTool: No changes to ../python3/repoze/who/plugins/__init__.py RefactoringTool: No changes to ../python3/repoze/who/__init__.py RefactoringTool: No changes to ../python3/repoze/__init__.py RefactoringTool: No changes to ../python3/docs/source/conf.py RefactoringTool: No changes to ../python3/demo/setup.py RefactoringTool: Refactored ../python3/demo/ldapauth/websetup.py RefactoringTool: Refactored ../python3/demo/ldapauth/tests/test_models.py --- ../python3/repoze/who/plugins/ldap/tests.py (original) +++ ../python3/repoze/who/plugins/ldap/tests.py (refactored) @@ -350,7 +350,7 @@ self.assertTrue(isinstance(conn, SimpleLDAPObject)) def test_connection_is_unicode(self): - conn = make_ldap_connection(u'ldap://example.org') + conn = make_ldap_connection('ldap://example.org') self.assertTrue(isinstance(conn, SimpleLDAPObject)) def test_connection_is_none(self): @@ -447,9 +447,9 @@ def _get_dn(self, environ, identity): self.called = True try: - return u'uid=%s,%s' % (identity['login'], self.base_dn) + return 'uid=%s,%s' % (identity['login'], self.base_dn) except (KeyError, TypeError): - raise ValueError, ('Could not find the DN from the identity and ' + raise ValueError('Could not find the DN from the identity and ' 'environment') --- ../python3/repoze/who/plugins/ldap/plugins.py (original) +++ ../python3/repoze/who/plugins/ldap/plugins.py (refactored) @@ -187,7 +187,7 @@ """ LDAPBaseAuthenticatorPlugin.__init__(self, ldap_connection, base_dn, **kwargs) - self.naming_pattern = u'%s=%%s,%%s' % naming_attribute + self.naming_pattern = '%s=%%s,%%s' % naming_attribute def _get_dn(self, environ, identity): """ @@ -274,9 +274,9 @@ raise ValueError("The search scope should be 'one[level]' or 'sub[tree]'") if restrict: - self.search_pattern = u'(&%s(%s=%%s))' % (restrict,naming_attribute) + self.search_pattern = '(&%s(%s=%%s))' % (restrict,naming_attribute) else: - self.search_pattern = u'(%s=%%s)' % naming_attribute + self.search_pattern = '(%s=%%s)' % naming_attribute def _get_dn(self, environ, identity): """ @@ -421,7 +421,7 @@ raise ValueError("Couldn't bind with supplied credentials") try: attributes = self.ldap_connection.search_s(*args) - except ldap.LDAPError, msg: + except ldap.LDAPError as msg: environ['repoze.who.logger'].warn('Cannot add metadata: %s' % msg) raise Exception(identity) else: @@ -447,7 +447,7 @@ @raise ValueError: If C{ldap_connection} is C{None}. """ - if isinstance(ldap_connection, str) or isinstance(ldap_connection, unicode): + if isinstance(ldap_connection, str) or isinstance(ldap_connection, str): return ldap.initialize(ldap_connection) elif ldap_connection is None: raise ValueError('An LDAP connection must be specified') --- ../python3/demo/ldapauth/websetup.py (original) +++ ../python3/demo/ldapauth/websetup.py (refactored) @@ -18,14 +18,14 @@ #print "Creating tables" #model.metadata.create_all(bind=config['pylons.app_globals'].sa_engine) - print """ + print(""" ================= Demo Project for repoze.who.plugins.ldap ==================== You should setup this demo by creating the relevant users and groups in your LDAP server, and then adjusting the relevant parameters in the "who.ini" file. -""" +""") #transaction.commit() - print "Successfully setup" + print("Successfully setup") --- ../python3/demo/ldapauth/tests/test_models.py (original) +++ ../python3/demo/ldapauth/tests/test_models.py (refactored) @@ -20,16 +20,16 @@ def setUp(self): super(TestUser, self).setUp() self.member = model.User() - self.member.user_name = u"ignucius" - self.member.email_address = u"ignucius@example.org" + self.member.user_name = "ignucius" + self.member.email_address = "ignucius@example.org" def test_member_creation_username(self): """The member constructor must set the user name right""" - self.assertEqual(self.member.user_name, u"ignucius") + self.assertEqual(self.member.user_name, "ignucius") def test_member_creation_email(selfRefactoringTool: Refactored ../python3/demo/ldapauth/tests/functional/test_root.py RefactoringTool: No changes to ../python3/demo/ldapauth/tests/__init__.py RefactoringTool: Refactored ../python3/demo/ldapauth/model/identity.py RefactoringTool: No changes to ../python3/demo/ldapauth/model/__init__.py RefactoringTool: No changes to ../python3/demo/ldapauth/lib/base.py RefactoringTool: No changes to ../python3/demo/ldapauth/lib/app_globals.py RefactoringTool: No changes to ../python3/demo/ldapauth/controllers/template.py RefactoringTool: Refactored ../python3/demo/ldapauth/controllers/root.py RefactoringTool: No changes to ../python3/demo/ldapauth/controllers/error.py RefactoringTool: No changes to ../python3/demo/ldapauth/config/middleware.py RefactoringTool: No changes to ../python3/demo/ldapauth/config/app_cfg.py RefactoringTool: No changes to ../python3/demo/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/repoze/who/plugins/ldap/tests.py RefactoringTool: ../python3/repoze/who/plugins/ldap/plugins.py RefactoringTool: ../python3/repoze/who/plugins/ldap/__init__.py RefactoringTool: ../python3/repoze/who/plugins/__init__.py RefactoringTool: ../python3/repoze/who/__init__.py RefactoringTool: ../python3/repoze/__init__.py RefactoringTool: ../python3/docs/source/conf.py RefactoringTool: ../python3/demo/setup.py RefactoringTool: ../python3/demo/ldapauth/websetup.py RefactoringTool: ../python3/demo/ldapauth/tests/test_models.py RefactoringTool: ../python3/demo/ldapauth/tests/functional/test_root.py RefactoringTool: ../python3/demo/ldapauth/tests/__init__.py RefactoringTool: ../python3/demo/ldapauth/model/identity.py RefactoringTool: ../python3/demo/ldapauth/model/__init__.py RefactoringTool: ../python3/demo/ldapauth/lib/base.py RefactoringTool: ../python3/demo/ldapauth/lib/app_globals.py RefactoringTool: ../python3/demo/ldapauth/controllers/template.py RefactoringTool: ../python3/demo/ldapauth/controllers/root.py RefactoringTool: ../python3/demo/ldapauth/controllers/error.py RefactoringTool: ../python3/demo/ldapauth/config/middleware.py RefactoringTool: ../python3/demo/ldapauth/config/app_cfg.py RefactoringTool: ../python3/demo/__init__.py ): """The member constructor must set the email right""" - self.assertEqual(self.member.email_address, u"ignucius@example.org") + self.assertEqual(self.member.email_address, "ignucius@example.org") def test_no_permissions_by_default(self): """User objects should have no permission by default.""" @@ -38,5 +38,5 @@ def test_getting_by_email(self): """Users should be fetcheable by their email addresses""" model.DBSession.add(self.member) - him = model.User.by_email_address(u"ignucius@example.org") + him = model.User.by_email_address("ignucius@example.org") self.assertEqual(him, self.member) --- ../python3/demo/ldapauth/tests/functional/test_root.py (original) +++ ../python3/demo/ldapauth/tests/functional/test_root.py (refactored) @@ -13,7 +13,7 @@ msg = 'TurboGears 2 is rapid web application development toolkit '\ 'designed to make your life easier.' # You can look for specific strings: - self.failUnless(msg in response) + self.assertTrue(msg in response) # You cam also access a BeautifulSoup'ed version links = response.html.findAll('a') - self.failUnless(links, "Mummy, there are no links here!") + self.assertTrue(links, "Mummy, there are no links here!") --- ../python3/demo/ldapauth/model/identity.py (original) +++ ../python3/demo/ldapauth/model/identity.py (refactored) @@ -115,7 +115,7 @@ be essentially a no-op.""" hashed_password = password - if isinstance(password, unicode): + if isinstance(password, str): password_8bit = password.encode('UTF-8') else: @@ -143,7 +143,7 @@ # make sure the hased password is an UTF-8 object at the end of the # process because SQLAlchemy _wants_ a unicode object for Unicode columns - if not isinstance(hashed_password, unicode): + if not isinstance(hashed_password, str): hashed_password = hashed_password.decode('UTF-8') return hashed_password --- ../python3/demo/ldapauth/controllers/root.py (original) +++ ../python3/demo/ldapauth/controllers/root.py (refactored) @@ -20,4 +20,4 @@ flash('Your Distinguished Name (DN) is "%s"' % user) # Passing the metadata metadata = request.environ['repoze.who.identity'] - return dict(metadata=metadata.items()) + return dict(metadata=list(metadata.items())) + install -pm644 /usr/share/python-sphinx/objects.inv docs/ + '[' -e docs/conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template docs/conf.py + ln -s ../objects.inv docs/source/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.88134 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who.plugins.ldap-1.1a1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/repoze copying repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/who copying repoze/who/__init__.py -> build/lib/repoze/who creating build/lib/repoze/who/plugins copying repoze/who/plugins/__init__.py -> build/lib/repoze/who/plugins creating build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/tests.py -> build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/plugins.py -> build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/__init__.py -> build/lib/repoze/who/plugins/ldap running egg_info writing requirements to repoze.who.plugins.ldap.egg-info/requires.txt writing repoze.who.plugins.ldap.egg-info/PKG-INFO writing namespace_packages to repoze.who.plugins.ldap.egg-info/namespace_packages.txt writing top-level names to repoze.who.plugins.ldap.egg-info/top_level.txt writing dependency_links to repoze.who.plugins.ldap.egg-info/dependency_links.txt reading manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/api' warning: no previously-included files matching '*.egg' found under directory 'demo/' warning: no previously-included files matching '*.db' found under directory 'demo/' warning: no previously-included files matching '*.po' found under directory 'demo/' no previously-included directories found matching 'demo/LDAPAuth.egg-info' no previously-included directories found matching 'demo/ez_setup' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/repoze copying repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/who copying repoze/who/__init__.py -> build/lib/repoze/who creating build/lib/repoze/who/plugins copying repoze/who/plugins/__init__.py -> build/lib/repoze/who/plugins creating build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/tests.py -> build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/plugins.py -> build/lib/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/__init__.py -> build/lib/repoze/who/plugins/ldap running egg_info writing repoze.who.plugins.ldap.egg-info/PKG-INFO writing dependency_links to repoze.who.plugins.ldap.egg-info/dependency_links.txt writing namespace_packages to repoze.who.plugins.ldap.egg-info/namespace_packages.txt writing requirements to repoze.who.plugins.ldap.egg-info/requires.txt writing top-level names to repoze.who.plugins.ldap.egg-info/top_level.txt reading manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/api' warning: no previously-included files matching '*.egg' found under directory 'demo/' warning: no previously-included files matching '*.db' found under directory 'demo/' warning: no previously-included files matching '*.po' found under directory 'demo/' no previously-included directories found matching 'demo/LDAPAuth.egg-info' no previously-included directories found matching 'demo/ez_setup' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + pushd docs ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + make pickle make: Entering directory '/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs' mkdir -p build/pickle build/doctrees sphinx-build -b pickle -d build/doctrees -D latex_paper_size=a4 source build/pickle Running Sphinx v1.6.5 Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt WARNING: unknown config value 'latex_paper_size' in override, ignoring loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 5 source files that are out of date updating environment: 5 added, 0 changed, 0 removed reading sources... [ 20%] Changes reading sources... [ 40%] Demo reading sources... [ 60%] Install reading sources... [ 80%] Using reading sources... [100%] index /usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs/source/Using.rst:322: WARNING: Literal block ends without a blank line; unexpected unindent. looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 20%] Changes writing output... [ 40%] Demo writing output... [ 60%] Install writing output... [ 80%] Using writing output... [100%] index generating indices... genindex py-modindex writing additional pages... search copying images... [ 50%] img/demo_screenshot_authenticated.png copying images... [100%] img/demo_screenshot_index.png copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs/source/_buildstatic' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 3 warnings. Build finished; now you can process the pickle files or run sphinx-web build/pickle to start the sphinx-web server. make: Leaving directory '/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs' + make html make: Entering directory '/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs' mkdir -p build/html build/doctrees sphinx-build -b html -d build/doctrees -D latex_paper_size=a4 source build/html Running Sphinx v1.6.5 Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt WARNING: unknown config value 'latex_paper_size' in override, ignoring loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 20%] Changes writing output... [ 40%] Demo writing output... [ 60%] Install writing output... [ 80%] Using writing output... [100%] index generating indices... genindex py-modindex writing additional pages... search copying images... [ 50%] img/demo_screenshot_authenticated.png copying images... [100%] img/demo_screenshot_index.png copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs/source/_buildstatic' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 2 warnings. Build finished. The HTML pages are in build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1/docs' + popd ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.98563 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot + cd python-module-repoze.who.plugins.ldap-1.1a1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/__init__.py (namespace package) copying repoze/who/plugins/ldap/__init__.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/plugins.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/tests.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py to plugins.pyc byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/tests.py to tests.pyc running install_egg_info running egg_info writing requirements to repoze.who.plugins.ldap.egg-info/requires.txt writing repoze.who.plugins.ldap.egg-info/PKG-INFO writing namespace_packages to repoze.who.plugins.ldap.egg-info/namespace_packages.txt writing top-level names to repoze.who.plugins.ldap.egg-info/top_level.txt writing dependency_links to repoze.who.plugins.ldap.egg-info/dependency_links.txt reading manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/api' warning: no previously-included files matching '*.egg' found under directory 'demo/' warning: no previously-included files matching '*.db' found under directory 'demo/' warning: no previously-included files matching '*.po' found under directory 'demo/' no previously-included directories found matching 'demo/LDAPAuth.egg-info' no previously-included directories found matching 'demo/ez_setup' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' Copying repoze.who.plugins.ldap.egg-info to /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze.who.plugins.ldap-1.1a1-py2.7.egg-info Installing /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze.who.plugins.ldap-1.1a1-py2.7-nspkg.pth running install_scripts + install -d /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages + mv /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze.who.plugins.ldap-1.1a1-py2.7-nspkg.pth /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze.who.plugins.ldap-1.1a1-py2.7.egg-info /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/ + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/__init__.py (namespace package) copying repoze/who/plugins/ldap/__init__.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/plugins.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/tests.py -> /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/plugins.py to plugins.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/tests.py to tests.cpython-37.pyc running install_egg_info running egg_info writing repoze.who.plugins.ldap.egg-info/PKG-INFO writing dependency_links to repoze.who.plugins.ldap.egg-info/dependency_links.txt writing namespace_packages to repoze.who.plugins.ldap.egg-info/namespace_packages.txt writing requirements to repoze.who.plugins.ldap.egg-info/requires.txt writing top-level names to repoze.who.plugins.ldap.egg-info/top_level.txt reading manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/api' warning: no previously-included files matching '*.egg' found under directory 'demo/' warning: no previously-included files matching '*.db' found under directory 'demo/' warning: no previously-included files matching '*.po' found under directory 'demo/' no previously-included directories found matching 'demo/LDAPAuth.egg-info' no previously-included directories found matching 'demo/ez_setup' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' Copying repoze.who.plugins.ldap.egg-info to /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze.who.plugins.ldap-1.1a1-py3.7.egg-info Installing /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze.who.plugins.ldap-1.1a1-py3.7-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + install -d /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze.who.plugins.ldap-1.1a1-py3.7-nspkg.pth /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze.who.plugins.ldap-1.1a1-py3.7.egg-info /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/ + install -d /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze.who.plugins.ldap + cp -fR docs/build/pickle /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze.who.plugins.ldap/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyc compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/tests.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/tests.py Bytecompiling python3 modules in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.pyc compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/tests.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/tests.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python3/site-packages/repoze/who/plugins/ldap/tests.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.pyc' './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyo' => './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyc' './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyo' => './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyc' './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.pyo' => './usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.pyc' Processing files: python-module-repoze.who.plugins.ldap-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.72970 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who.plugins.ldap-1.1a1 + DOCDIR=/usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + cp -prL LICENSE README /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + chmod -R go-w /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-1.1a1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I6y1Oc find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1ffG0T find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py: hiding ldap, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib64/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py: hiding ldap, which SEEMS TO BE SELF-SATISFIED Provides: python2.7(repoze.who.plugins.ldap), python2.7(repoze.who.plugins.ldap.plugins) Requires: python2.7(repoze.who.plugins), python2.7(repoze.who), python2.7(ldap), python2.7(zope.interface), /usr/lib64/python2.7/site-packages, python-modules, python2.7(repoze), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CypJAE Processing files: python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.2551 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who.plugins.ldap-1.1a1 + DOCDIR=/usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + cp -prL LICENSE README /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + chmod -R go-w /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python3-module-repoze.who.plugins.ldap-1.1a1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.73xsrt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QysIYl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python3(repoze.who.plugins.ldap), python3(repoze.who.plugins.ldap.plugins) Requires: python3(repoze.who.plugins) < 0, python3(repoze.who) < 0, python3(ldap) < 0, python3(zope.interface) < 0, /usr/lib64/python3/site-packages, python3(base64) < 0, python3(re) < 0, python3(repoze.who.interfaces) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TVtOCi Processing files: python3-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.G2CtGi find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nu0e5m find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python3(repoze.who.plugins.ldap.tests) Requires: python3-module-repoze.who.plugins.ldap = 1.1a1-alt2.2, python3(dataflake.ldapconnection) < 0, /usr/lib64/python3/site-packages, python3(base64) < 0, python3(dataflake.ldapconnection.tests) < 0, python3(ldap) < 0, python3(ldap.ldapobject) < 0, python3(repoze.who.interfaces) < 0, python3(repoze.who.plugins.ldap) < 0, python3(repoze.who.plugins.ldap.plugins) < 0, python3(unittest) < 0, python3(zope.interface.verify) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ky1wUx Processing files: python-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VM3B2M find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s5uB65 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python2.7(repoze.who.plugins.ldap.tests) Requires: python-module-repoze.who.plugins.ldap = 1.1a1-alt2.2, python2.7(dataflake.ldapconnection), /usr/lib64/python2.7/site-packages, python-modules, python2.7(dataflake), python2.7(ldap), python2.7(repoze), python2.7(unittest), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D2ejxs Processing files: python-module-repoze.who.plugins.ldap-pickles-1.1a1-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ozh0kS find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XrtYtl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /usr/lib64/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.COApZR Processing files: python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25285 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-repoze.who.plugins.ldap-1.1a1 + DOCDIR=/usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + /bin/mkdir -p /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + cp -prL docs/build/html/Changes.html docs/build/html/Demo.html docs/build/html/Install.html docs/build/html/Using.html docs/build/html/_images docs/build/html/_sources docs/build/html/_static docs/build/html/genindex.html docs/build/html/index.html docs/build/html/objects.inv docs/build/html/py-modindex.html docs/build/html/search.html docs/build/html/searchindex.js /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + chmod -R go-w /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + chmod -R a+rX /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/share/doc/python-module-repoze.who.plugins.ldap-docs-1.1a1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lRy8Ds find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iRJXF6 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Adding to python-module-repoze.who.plugins.ldap-tests a strict dependency on python-module-repoze.who.plugins.ldap Adding to python3-module-repoze.who.plugins.ldap-tests a strict dependency on python3-module-repoze.who.plugins.ldap Removing 2 extra deps from python3-module-repoze.who.plugins.ldap-tests due to dependency on python3-module-repoze.who.plugins.ldap Removing 5 extra deps from python-module-repoze.who.plugins.ldap-tests due to repentancy on python-module-repoze.who.plugins.ldap Removing 4 extra deps from python3-module-repoze.who.plugins.ldap-tests due to repentancy on python3-module-repoze.who.plugins.ldap Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-repoze.who.plugins.ldap-pickles-1.1a1-alt2.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2.noarch.rpm 14.81user 1.57system 0:36.25elapsed 45%CPU (0avgtext+0avgdata 56816maxresident)k 0inputs+0outputs (0major+642288minor)pagefaults 0swaps 25.79user 5.10system 0:51.77elapsed 59%CPU (0avgtext+0avgdata 118988maxresident)k 0inputs+0outputs (0major+1309962minor)pagefaults 0swaps