<86>Oct 24 04:07:46 userdel[17115]: delete user 'rooter' <86>Oct 24 04:07:46 userdel[17115]: removed group 'rooter' owned by 'rooter' <86>Oct 24 04:07:46 userdel[17115]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 24 04:07:46 groupadd[17125]: group added to /etc/group: name=rooter, GID=627 <86>Oct 24 04:07:46 groupadd[17125]: group added to /etc/gshadow: name=rooter <86>Oct 24 04:07:46 groupadd[17125]: new group: name=rooter, GID=627 <86>Oct 24 04:07:46 useradd[17132]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Oct 24 04:07:46 userdel[17146]: delete user 'builder' <86>Oct 24 04:07:46 userdel[17146]: removed group 'builder' owned by 'builder' <86>Oct 24 04:07:46 userdel[17146]: removed shadow group 'builder' owned by 'builder' <86>Oct 24 04:07:46 groupadd[17156]: group added to /etc/group: name=builder, GID=628 <86>Oct 24 04:07:46 groupadd[17156]: group added to /etc/gshadow: name=builder <86>Oct 24 04:07:46 groupadd[17156]: new group: name=builder, GID=628 <86>Oct 24 04:07:46 useradd[17165]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Oct 24 04:07:49 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Oct 24 04:07:49 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Oct 24 04:07:49 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Oct 24 04:07:49 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282369 installed <13>Oct 24 04:07:49 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 04:07:49 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 04:07:49 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Oct 24 04:07:49 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 24 04:07:49 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Oct 24 04:07:50 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Oct 24 04:07:50 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Oct 24 04:07:50 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Oct 24 04:07:50 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Oct 24 04:07:51 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Oct 24 04:07:51 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Oct 24 04:07:51 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Oct 24 04:07:51 rpmi: rpm-macros-sphinx-1:1.6.5-alt7 sisyphus+238085.300.2.1 1569317039 installed <13>Oct 24 04:07:56 rpmi: libtcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Oct 24 04:07:56 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Oct 24 04:07:56 rpmi: tcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Oct 24 04:07:56 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Oct 24 04:07:56 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Oct 24 04:07:56 rpmi: python-sphinx-objects.inv-1:2.3.9.20191009-alt1 sisyphus+239017.100.1.1 1570703288 installed <13>Oct 24 04:07:56 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Oct 24 04:07:56 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Oct 24 04:07:56 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:56 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144769 installed <13>Oct 24 04:07:56 rpmi: libsqlite3-3.30.1-alt2 sisyphus+239645.100.1.1 1571835190 installed <13>Oct 24 04:07:56 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 04:07:56 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 04:07:56 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389791 installed <13>Oct 24 04:07:56 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Oct 24 04:07:56 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Oct 24 04:07:56 rpmi: libxslt-1.1.33-alt2 sisyphus+237506.100.1.1 1568316627 installed <13>Oct 24 04:07:56 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 24 04:07:56 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 24 04:07:56 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Oct 24 04:07:56 groupadd[45705]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 24 04:07:56 groupadd[45705]: group added to /etc/gshadow: name=_keytab <86>Oct 24 04:07:56 groupadd[45705]: new group: name=_keytab, GID=499 <13>Oct 24 04:07:56 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Oct 24 04:07:56 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Oct 24 04:07:56 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Oct 24 04:07:57 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Oct 24 04:07:57 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Oct 24 04:07:57 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Oct 24 04:07:57 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Oct 24 04:07:57 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Oct 24 04:07:57 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:57 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Oct 24 04:07:57 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Oct 24 04:07:57 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Oct 24 04:07:57 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Oct 24 04:07:57 rpmi: python-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Oct 24 04:07:57 rpmi: python-module-lxml-4.4.1-alt1 sisyphus+236738.100.2.3 1567016364 installed <13>Oct 24 04:07:57 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Oct 24 04:07:57 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Oct 24 04:07:57 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Oct 24 04:07:57 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Oct 24 04:07:57 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Oct 24 04:07:58 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Oct 24 04:07:58 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Oct 24 04:07:58 rpmi: python-module-cryptography-2.8-alt1 sisyphus+239390.100.1.2 1571349409 installed <13>Oct 24 04:07:58 rpmi: python-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Oct 24 04:07:58 rpmi: python-module-simplejson-3.15.0-alt3.qa1 sisyphus+233013.100.1.1 1561323445 installed <13>Oct 24 04:07:58 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Oct 24 04:07:58 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Oct 24 04:07:58 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Oct 24 04:07:58 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Oct 24 04:07:58 rpmi: python-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Oct 24 04:07:58 rpmi: python-module-requests-2.22.0-alt1 sisyphus+238756.100.1.1 1570338316 installed <13>Oct 24 04:07:58 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Oct 24 04:07:58 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555290677 installed <13>Oct 24 04:07:58 rpmi: python-module-jinja2-2.10.1-alt1 sisyphus+237301.100.1.1 1568032479 installed <13>Oct 24 04:07:58 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:07:58 rpmi: python-module-SQLAlchemy-1.3.8-alt1 sisyphus+237031.100.1.1 1567432466 installed <13>Oct 24 04:07:58 rpmi: python-module-xapian-1.4.5-alt4 sisyphus+237555.100.1.1 1568564577 installed <13>Oct 24 04:07:58 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt5 sisyphus+238085.40.2.1 1569316750 installed <13>Oct 24 04:07:58 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Oct 24 04:07:58 rpmi: python-module-Pygments-2.4.2-alt1 sisyphus+233443.20.3.1 1561904164 installed <13>Oct 24 04:07:58 rpmi: python-module-sphinx-1:1.6.5-alt7 sisyphus+238085.300.2.1 1569317039 installed <13>Oct 24 04:07:58 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Oct 24 04:07:58 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Oct 24 04:07:58 rpmi: libharfbuzz-2.6.2-alt1 sisyphus+238768.140.16.1 1571427539 installed <13>Oct 24 04:07:58 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Oct 24 04:07:58 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Oct 24 04:07:59 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Oct 24 04:07:59 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Oct 24 04:07:59 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Oct 24 04:08:00 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Oct 24 04:08:00 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 24 04:08:00 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Oct 24 04:08:00 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Oct 24 04:08:00 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Oct 24 04:08:00 rpmi: libtk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Oct 24 04:08:00 rpmi: tk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Oct 24 04:08:00 rpmi: python-modules-tkinter-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:08:00 rpmi: python-module-epydoc-1:3.0.1-alt3 1502472850 installed <13>Oct 24 04:08:00 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 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>Oct 24 04:08:04 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:08:04 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Oct 24 04:08:04 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 24 04:08:04 rpmi: python-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 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.2400 + 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.2455 + 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.48939 + 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.97105 + 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.vKLgyR 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.I0ijLs find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.Dx1Dn7 Processing files: python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.30626 + 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.iEs6UQ 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.XOpyXD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.CvHiEu 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.1ZouPo 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.iuM9Gm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.B907go 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.yt8wot 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.pWBpmC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.wjIv2O 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.7twIv6 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.KbNkts find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.tAoJMR Processing files: python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.37575 + 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.yW8SKm 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.5MVG5U find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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 17.07user 1.91system 0:37.00elapsed 51%CPU (0avgtext+0avgdata 56344maxresident)k 0inputs+0outputs (0major+637969minor)pagefaults 0swaps 29.39user 5.55system 0:58.54elapsed 59%CPU (0avgtext+0avgdata 112796maxresident)k 0inputs+0outputs (0major+1304913minor)pagefaults 0swaps