<86>Sep 15 11:45:54 userdel[28243]: delete user 'rooter' <86>Sep 15 11:45:54 userdel[28243]: removed group 'rooter' owned by 'rooter' <86>Sep 15 11:45:54 userdel[28243]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 15 11:45:54 groupadd[28250]: group added to /etc/group: name=rooter, GID=543 <86>Sep 15 11:45:54 groupadd[28250]: group added to /etc/gshadow: name=rooter <86>Sep 15 11:45:54 groupadd[28250]: new group: name=rooter, GID=543 <86>Sep 15 11:45:54 useradd[28257]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash <86>Sep 15 11:45:54 userdel[28271]: delete user 'builder' <86>Sep 15 11:45:54 userdel[28271]: removed group 'builder' owned by 'builder' <86>Sep 15 11:45:54 userdel[28271]: removed shadow group 'builder' owned by 'builder' <86>Sep 15 11:45:54 groupadd[28279]: group added to /etc/group: name=builder, GID=544 <86>Sep 15 11:45:54 groupadd[28279]: group added to /etc/gshadow: name=builder <86>Sep 15 11:45:54 groupadd[28279]: new group: name=builder, GID=544 <86>Sep 15 11:45:54 useradd[28284]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash <13>Sep 15 11:45:58 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 15 11:45:58 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Sep 15 11:45:58 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 15 11:45:58 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282372 installed <13>Sep 15 11:45:58 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 15 11:45:58 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 15 11:45:58 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Sep 15 11:45:58 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 15 11:45:58 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 15 11:45:58 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Sep 15 11:45:58 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Sep 15 11:45:58 rpmi: python3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 15 11:45:58 rpmi: libpython3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 15 11:45:59 rpmi: python3-base-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 15 11:45:59 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 15 11:45:59 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 15 11:45:59 rpmi: rpm-macros-sphinx-1:1.6.5-alt6 sisyphus+231758.140.2.1 1560164936 installed <13>Sep 15 11:46:07 rpmi: libtcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606538 installed <13>Sep 15 11:46:07 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Sep 15 11:46:07 rpmi: tcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606538 installed <13>Sep 15 11:46:07 rpmi: python3-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 15 11:46:07 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Sep 15 11:46:07 rpmi: python-sphinx-objects.inv-1:2.3.9.20190912-alt1 sisyphus+237507.100.1.1 1568326810 installed <13>Sep 15 11:46:07 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633057 installed <13>Sep 15 11:46:07 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Sep 15 11:46:07 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:07 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144773 installed <13>Sep 15 11:46:07 rpmi: libsqlite3-3.29.0-alt1 sisyphus+237138.100.1.1 1567626477 installed <13>Sep 15 11:46:07 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 15 11:46:07 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 15 11:46:07 rpmi: python3-dev-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 15 11:46:07 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Sep 15 11:46:08 rpmi: libgcrypt20-1.8.5-alt1 sisyphus+236872.100.1.1 1567111980 installed <13>Sep 15 11:46:08 rpmi: libxslt-1.1.33-alt2 sisyphus+237506.100.1.1 1568316630 installed <13>Sep 15 11:46:08 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 15 11:46:08 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Sep 15 11:46:08 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 15 11:46:08 groupadd[3999]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 15 11:46:08 groupadd[3999]: group added to /etc/gshadow: name=_keytab <86>Sep 15 11:46:08 groupadd[3999]: new group: name=_keytab, GID=499 <13>Sep 15 11:46:08 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Sep 15 11:46:08 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Sep 15 11:46:08 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 15 11:46:08 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Sep 15 11:46:08 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 15 11:46:08 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Sep 15 11:46:08 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Sep 15 11:46:08 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Sep 15 11:46:08 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:08 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 15 11:46:08 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:09 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Sep 15 11:46:09 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316452 installed <13>Sep 15 11:46:09 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Sep 15 11:46:09 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Sep 15 11:46:09 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Sep 15 11:46:09 rpmi: python-module-html5lib-1:0.999999999-alt5 sisyphus+231157.100.1.1 1559210416 installed <13>Sep 15 11:46:09 rpmi: python-module-lxml-4.4.1-alt1 sisyphus+236738.100.2.3 1567016394 installed <13>Sep 15 11:46:09 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Sep 15 11:46:09 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Sep 15 11:46:09 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Sep 15 11:46:09 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Sep 15 11:46:09 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Sep 15 11:46:10 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Sep 15 11:46:10 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Sep 15 11:46:10 rpmi: python-module-cryptography-2.7-alt1 sisyphus+231440.140.2.1 1559612351 installed <13>Sep 15 11:46:10 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Sep 15 11:46:10 rpmi: python-module-simplejson-3.15.0-alt3.qa1 sisyphus+233013.100.1.1 1561323449 installed <13>Sep 15 11:46:10 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Sep 15 11:46:10 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Sep 15 11:46:10 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Sep 15 11:46:10 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Sep 15 11:46:10 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>Sep 15 11:46:10 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>Sep 15 11:46:10 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Sep 15 11:46:10 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>Sep 15 11:46:10 rpmi: python-module-jinja2-2.10.1-alt1 sisyphus+237301.100.1.1 1568032479 installed <13>Sep 15 11:46:10 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:10 rpmi: python-module-SQLAlchemy-1.3.8-alt1 sisyphus+237031.100.1.1 1567432479 installed <13>Sep 15 11:46:10 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555296582 installed <13>Sep 15 11:46:10 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt4.qa1 sisyphus+233016.100.1.2 1561326623 installed <13>Sep 15 11:46:10 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Sep 15 11:46:11 rpmi: python-module-Pygments-2.4.2-alt1 sisyphus+233443.20.3.1 1561904164 installed <13>Sep 15 11:46:11 rpmi: python-module-sphinx-1:1.6.5-alt6 sisyphus+231758.140.2.1 1560164936 installed <13>Sep 15 11:46:11 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Sep 15 11:46:11 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Sep 15 11:46:11 rpmi: libharfbuzz-2.6.1-alt1 sisyphus+236500.100.1.1 1566557851 installed <13>Sep 15 11:46:11 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Sep 15 11:46:11 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Sep 15 11:46:12 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 15 11:46:12 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 15 11:46:12 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Sep 15 11:46:12 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Sep 15 11:46:12 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Sep 15 11:46:12 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106876 installed <13>Sep 15 11:46:12 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Sep 15 11:46:12 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Sep 15 11:46:13 rpmi: libtk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606681 installed <13>Sep 15 11:46:13 rpmi: tk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606681 installed <13>Sep 15 11:46:13 rpmi: python-modules-tkinter-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:13 rpmi: python-module-epydoc-1:3.0.1-alt3 1502472850 installed <13>Sep 15 11:46:13 rpmi: python3-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.nosrc.rpm <13>Sep 15 11:46:19 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:19 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Sep 15 11:46:19 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 15 11:46:19 rpmi: python-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed Installing python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.52523 + 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.98174 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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.49467 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-repoze.who.plugins.ldap-1.1a1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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/lib/python2.7/site-packages/repoze.who.plugins.ldap + cp -fR docs/build/pickle /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/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/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/lib/python2.7/site-packages/repoze/who/plugins/ldap/__init__.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyc compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/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/lib/python2.7/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/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/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.pyc unlink /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.pyc compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/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/lib/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/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/lib/python3/site-packages/repoze/who/plugins/ldap/__init__.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/plugins.py compile /usr/src/tmp/python-module-repoze.who.plugins.ldap-buildroot/usr/lib/python3/site-packages/repoze/who/plugins/ldap/tests.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/tests.cpython-37.pyc' './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/plugins.cpython-37.pyc' './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/repoze/who/plugins/ldap/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyo' => './usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/tests.pyc' './usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyo' => './usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/plugins.pyc' './usr/lib/python2.7/site-packages/repoze/who/plugins/ldap/__init__.pyo' => './usr/lib/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.51460 + 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.iTXzl1 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.cGx1Q7 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/lib/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/lib/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/lib/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.0637pa Processing files: python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.83620 + 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.9GgQqh 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.SQYfOh 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/lib/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.hZ3Mi4 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.WivsYw 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.jyDw7H 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/lib/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.MvbzGD 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.J13azh 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.YhA30J 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/lib/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.8wfAqU 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.cy3jlB 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.qrjNwV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5lvfR0 Processing files: python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.16350 + 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.Z6K7Aa 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.WmWnK0 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/i586/python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-repoze.who.plugins.ldap-tests-1.1a1-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-repoze.who.plugins.ldap-pickles-1.1a1-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2.noarch.rpm 33.77user 3.29system 0:54.92elapsed 67%CPU (0avgtext+0avgdata 35468maxresident)k 0inputs+0outputs (0major+484670minor)pagefaults 0swaps 54.01user 11.18system 1:26.68elapsed 75%CPU (0avgtext+0avgdata 113580maxresident)k 0inputs+0outputs (0major+1127705minor)pagefaults 0swaps