<86>Jan 26 04:59:35 userdel[3004238]: delete user 'rooter' <86>Jan 26 04:59:35 groupadd[3004357]: group added to /etc/group: name=rooter, GID=567 <86>Jan 26 04:59:35 groupadd[3004357]: group added to /etc/gshadow: name=rooter <86>Jan 26 04:59:35 groupadd[3004357]: new group: name=rooter, GID=567 <86>Jan 26 04:59:35 useradd[3004391]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Jan 26 04:59:35 userdel[3004442]: delete user 'builder' <86>Jan 26 04:59:35 userdel[3004442]: removed group 'builder' owned by 'builder' <86>Jan 26 04:59:35 userdel[3004442]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 04:59:35 groupadd[3004512]: group added to /etc/group: name=builder, GID=568 <86>Jan 26 04:59:35 groupadd[3004512]: group added to /etc/gshadow: name=builder <86>Jan 26 04:59:35 groupadd[3004512]: new group: name=builder, GID=568 <86>Jan 26 04:59:35 useradd[3004536]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Jan 26 04:59:38 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 26 04:59:38 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jan 26 04:59:38 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 26 04:59:38 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 26 04:59:38 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 04:59:38 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 04:59:38 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Jan 26 04:59:38 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 26 04:59:38 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 26 04:59:39 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed <13>Jan 26 04:59:39 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed <13>Jan 26 04:59:39 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 04:59:39 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 04:59:39 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 04:59:39 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 26 04:59:39 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 26 04:59:39 rpmi: rpm-macros-sphinx-1:1.6.5-alt4 sisyphus+228232.100.1.1 1556298645 installed <13>Jan 26 04:59:45 rpmi: libtcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Jan 26 04:59:45 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Jan 26 04:59:45 rpmi: tcl-8.6.9-alt1 sisyphus+227145.100.1.2 1555606523 installed <13>Jan 26 04:59:46 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 04:59:46 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Jan 26 04:59:46 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Jan 26 04:59:46 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Jan 26 04:59:46 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 p9+229421.100.1.1 1557927689 installed <13>Jan 26 04:59:46 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Jan 26 04:59:46 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Jan 26 04:59:46 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144769 installed <13>Jan 26 04:59:46 rpmi: libsqlite3-3.29.0-alt1 p9+237498.100.1.1 1568303484 installed <13>Jan 26 04:59:46 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 26 04:59:46 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 26 04:59:46 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444591 installed <13>Jan 26 04:59:46 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Jan 26 04:59:46 rpmi: libgcrypt20-1.8.4-alt2 sisyphus+229280.100.1.1 1557741896 installed <13>Jan 26 04:59:46 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820927 installed <13>Jan 26 04:59:46 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jan 26 04:59:46 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jan 26 04:59:46 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Jan 26 04:59:46 groupadd[3023677]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 26 04:59:46 groupadd[3023677]: group added to /etc/gshadow: name=_keytab <86>Jan 26 04:59:46 groupadd[3023677]: new group: name=_keytab, GID=499 <13>Jan 26 04:59:46 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572448 installed <13>Jan 26 04:59:46 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jan 26 04:59:46 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jan 26 04:59:46 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Jan 26 04:59:46 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 04:59:46 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:46 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Jan 26 04:59:47 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Jan 26 04:59:47 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Jan 26 04:59:47 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Jan 26 04:59:47 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:47 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:47 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:47 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:47 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Jan 26 04:59:47 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Jan 26 04:59:47 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Jan 26 04:59:47 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Jan 26 04:59:47 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jan 26 04:59:47 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>Jan 26 04:59:47 rpmi: python-module-lxml-4.4.2-alt1 p9+244111.100.1.1 1578758711 installed <13>Jan 26 04:59:47 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Jan 26 04:59:47 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Jan 26 04:59:47 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Jan 26 04:59:47 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Jan 26 04:59:47 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jan 26 04:59:47 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Jan 26 04:59:48 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Jan 26 04:59:48 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Jan 26 04:59:48 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555299604 installed <13>Jan 26 04:59:48 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Jan 26 04:59:48 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>Jan 26 04:59:48 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jan 26 04:59:48 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Jan 26 04:59:48 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Jan 26 04:59:48 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Jan 26 04:59:48 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>Jan 26 04:59:48 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>Jan 26 04:59:48 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Jan 26 04:59:48 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555290677 installed <13>Jan 26 04:59:48 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Jan 26 04:59:48 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:48 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>Jan 26 04:59:48 rpmi: python-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>Jan 26 04:59:48 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Jan 26 04:59:48 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968852 installed <13>Jan 26 04:59:48 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>Jan 26 04:59:48 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Jan 26 04:59:48 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555297606 installed <13>Jan 26 04:59:48 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Jan 26 04:59:48 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>Jan 26 04:59:48 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus+227529.1200.1.2 1555924506 installed <13>Jan 26 04:59:48 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Jan 26 04:59:48 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Jan 26 04:59:48 rpmi: python-module-sphinx-1:1.6.5-alt4 sisyphus+228232.100.1.1 1556298645 installed <13>Jan 26 04:59:48 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Jan 26 04:59:48 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Jan 26 04:59:48 rpmi: libharfbuzz-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed <13>Jan 26 04:59:48 rpmi: libfreetype-2.10.0-alt2 sisyphus+226881.100.2.1 1555676284 installed <13>Jan 26 04:59:48 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Jan 26 04:59:50 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 04:59:50 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Jan 26 04:59:50 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jan 26 04:59:50 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jan 26 04:59:50 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 26 04:59:50 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Jan 26 04:59:50 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Jan 26 04:59:50 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Jan 26 04:59:50 rpmi: libtk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Jan 26 04:59:50 rpmi: tk-8.6.9-alt1 sisyphus+227145.200.1.2 1555606663 installed <13>Jan 26 04:59:50 rpmi: python-modules-tkinter-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:50 rpmi: python-module-epydoc-1:3.0.1-alt3 1502472850 installed <13>Jan 26 04:59:50 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.nosrc.rpm <13>Jan 26 04:59:54 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:54 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jan 26 04:59:54 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Jan 26 04:59:54 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-repoze.who.plugins.ldap-1.1a1-alt2.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.91480 + 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.91863 + 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.85327 + 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.4274 + 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.gKbV1N 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.4BvT61 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.IKucCj Processing files: python3-module-repoze.who.plugins.ldap-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.42464 + 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.kIOMmF 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.UOVGu4 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.gcB8Zw 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.4fTET2 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.gItzbC 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.AyWOQe 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.yxN7SU 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.C7FOjE 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.GxFe6q 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.kG86dh 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.SFa1Ia 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.EqR4z7 Processing files: python-module-repoze.who.plugins.ldap-docs-1.1a1-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.93997 + 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.6SNhA8 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.apkJXc 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 16.52user 1.74system 0:33.68elapsed 54%CPU (0avgtext+0avgdata 55568maxresident)k 0inputs+0outputs (0major+637012minor)pagefaults 0swaps 29.01user 5.16system 0:56.84elapsed 60%CPU (0avgtext+0avgdata 117184maxresident)k 0inputs+0outputs (0major+1306925minor)pagefaults 0swaps