<86>Feb 12 13:13:47 userdel[3756652]: delete user 'rooter' <86>Feb 12 13:13:47 userdel[3756652]: removed group 'rooter' owned by 'rooter' <86>Feb 12 13:13:47 userdel[3756652]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 12 13:13:47 groupadd[3756668]: group added to /etc/group: name=rooter, GID=531 <86>Feb 12 13:13:47 groupadd[3756668]: group added to /etc/gshadow: name=rooter <86>Feb 12 13:13:47 groupadd[3756668]: new group: name=rooter, GID=531 <86>Feb 12 13:13:47 useradd[3756678]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Feb 12 13:13:47 userdel[3756691]: delete user 'builder' <86>Feb 12 13:13:47 userdel[3756691]: removed group 'builder' owned by 'builder' <86>Feb 12 13:13:47 userdel[3756691]: removed shadow group 'builder' owned by 'builder' <86>Feb 12 13:13:47 groupadd[3756701]: group added to /etc/group: name=builder, GID=532 <86>Feb 12 13:13:47 groupadd[3756701]: group added to /etc/gshadow: name=builder <86>Feb 12 13:13:47 groupadd[3756701]: new group: name=builder, GID=532 <86>Feb 12 13:13:47 useradd[3756711]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash <13>Feb 12 13:13:51 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 12 13:13:51 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 12 13:13:51 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 12 13:13:51 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 12 13:13:51 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 12 13:13:51 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 12 13:13:51 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Feb 12 13:13:51 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 12 13:13:51 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 12 13:13:51 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 12 13:13:51 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 12 13:13:51 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 12 13:13:51 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 12 13:13:52 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 12 13:13:52 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 12 13:13:52 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 12 13:13:57 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Feb 12 13:13:57 rpmi: python-base-2.7.17-alt3 sisyphus+240580.60.5.1 1573516905 installed <13>Feb 12 13:13:57 rpmi: python-modules-curses-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:57 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 12 13:13:57 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 12 13:13:57 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 12 13:13:57 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Feb 12 13:13:57 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Feb 12 13:13:57 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Feb 12 13:13:57 groupadd[3767057]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 12 13:13:57 groupadd[3767057]: group added to /etc/gshadow: name=_keytab <86>Feb 12 13:13:57 groupadd[3767057]: new group: name=_keytab, GID=499 <13>Feb 12 13:13:57 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Feb 12 13:13:57 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 12 13:13:57 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 12 13:13:57 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:57 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:57 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:57 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-xml-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-hotshot-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-bsddb-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-modules-distutils-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Feb 12 13:13:58 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Feb 12 13:13:58 rpmi: python-dev-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 12 13:13:58 rpmi: python-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Feb 12 13:13:58 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-twill-1.8.0-alt2.2.nosrc.rpm Installing python-module-twill-1.8.0-alt2.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58980 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-twill-1.8.0 + echo 'Source #0 (python-module-twill-1.8.0.tar):' Source #0 (python-module-twill-1.8.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-twill-1.8.0.tar + cd python-module-twill-1.8.0 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.66318 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-twill-1.8.0 + 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/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/twill copying twill/wsgi_intercept.py -> build/lib/twill copying twill/utils.py -> build/lib/twill copying twill/unit.py -> build/lib/twill copying twill/shell.py -> build/lib/twill copying twill/parse.py -> build/lib/twill copying twill/namespaces.py -> build/lib/twill copying twill/errors.py -> build/lib/twill copying twill/commands.py -> build/lib/twill copying twill/browser.py -> build/lib/twill copying twill/__init__.py -> build/lib/twill creating build/lib/twill/other_packages copying twill/other_packages/subprocess.py -> build/lib/twill/other_packages copying twill/other_packages/pyparsing.py -> build/lib/twill/other_packages copying twill/other_packages/__init__.py -> build/lib/twill/other_packages creating build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_util.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_useragent.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_urllib2.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_upgrade.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_seek.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_rfc3986.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_response.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_request.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_pullparser.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_opener.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_msiecookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_mozillacookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_mechanize.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_lwpcookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_http.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_html.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_headersutil.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_gzip.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_debug.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_clientcookie.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_beautifulsoup.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_auth.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/__init__.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/ClientForm.py -> build/lib/twill/other_packages/_mechanize_dist creating build/lib/twill/extensions copying twill/extensions/test_extensions.py -> build/lib/twill/extensions copying twill/extensions/require.py -> build/lib/twill/extensions copying twill/extensions/mailman_sf.py -> build/lib/twill/extensions copying twill/extensions/formfill.py -> build/lib/twill/extensions copying twill/extensions/dns_check.py -> build/lib/twill/extensions copying twill/extensions/dirstack.py -> build/lib/twill/extensions copying twill/extensions/csv_iterate.py -> build/lib/twill/extensions copying twill/extensions/check_links.py -> build/lib/twill/extensions copying twill/extensions/argparse.py -> build/lib/twill/extensions copying twill/extensions/__init__.py -> build/lib/twill/extensions creating build/lib/twill/extensions/match_parse copying twill/extensions/match_parse/test-match_parse.py -> build/lib/twill/extensions/match_parse copying twill/extensions/match_parse/__init__.py -> build/lib/twill/extensions/match_parse running build_scripts creating build/scripts-2.7 copying and adjusting twill-fork -> build/scripts-2.7 changing mode of build/scripts-2.7/twill-fork from 644 to 755 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-twill-1.8.0 + find -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: Refactored ./twill/wsgi_intercept.py RefactoringTool: Refactored ./twill/utils.py --- ./twill/wsgi_intercept.py (original) +++ ./twill/wsgi_intercept.py (refactored) @@ -6,9 +6,9 @@ Use 'add_wsgi_intercept' and 'remove_wsgi_intercept' to control this behavior. """ import sys -from httplib import HTTPConnection -import urllib -from cStringIO import StringIO +from http.client import HTTPConnection +import urllib.request, urllib.parse, urllib.error +from io import StringIO import traceback debuglevel = 0 @@ -43,7 +43,7 @@ Remove the WSGI intercept call for (host, port). """ key = (host, port) - if _wsgi_intercept.has_key(key): + if key in _wsgi_intercept: del _wsgi_intercept[key] # @@ -99,14 +99,14 @@ environ['HTTP_' + h] = v if debuglevel >= 2: - print 'HEADER:', k, v + print('HEADER:', k, v) # # decode the method line # if debuglevel >= 2: - print 'METHOD LINE:', method_line + print('METHOD LINE:', method_line) method, url, protocol = method_line.split(' ') @@ -117,13 +117,13 @@ url = url[len(script_name):] url = url.split('?', 1) - path_info = urllib.unquote_plus(url[0]) + path_info = urllib.parse.unquote_plus(url[0]) query_string = "" if len(url) == 2: - query_string = urllib.unquote_plus(url[1]) + query_string = urllib.parse.unquote_plus(url[1]) if debuglevel: - print "method: %s; script_name: %s; path_info: %s; query_string: %s" % (method, script_name, path_info, query_string) + print("method: %s; script_name: %s; path_info: %s; query_string: %s" % (method, script_name, path_info, query_string)) r = inp.read() inp = StringIO(r) @@ -163,11 +163,11 @@ if content_type: environ['CONTENT_TYPE'] = content_type if debuglevel >= 2: - print 'CONTENT-TYPE:', content_type + print('CONTENT-TYPE:', content_type) if content_length: environ['CONTENT_LENGTH'] = content_length if debuglevel >= 2: - print 'CONTENT-LENGTH:', content_length + print('CONTENT-LENGTH:', content_length) # # handle cookies. @@ -176,7 +176,7 @@ environ['HTTP_COOKIE'] = "; ".join(cookies) if debuglevel: - print 'WSGI environ dictionary:', environ + print('WSGI environ dictionary:', environ) return environ @@ -259,7 +259,7 @@ try: generator_data = None try: - generator_data = self.result.next() + generator_data = next(self.result) finally: for data in self.write_results: @@ -269,7 +269,7 @@ self.output.write(generator_data) while 1: - data = self.result.next() + data = next(self.result) self.output.write(data) except StopIteration: @@ -279,7 +279,7 @@ app_result.close() if debuglevel >= 2: - print "***", self.output.getvalue(), "***" + print("***", self.output.getvalue(), "***") # return the concatenated results. return StringIO(self.output.getvalue()) @@ -289,7 +289,7 @@ Save all the traffic to self.inp. """ if debuglevel >= 2: - print ">>>", str, ">>>" + print(">>>", str, ">>>") self.inp.write(str) @@ -314,7 +314,7 @@ app, script_name = None, None - if _wsgi_intercept.has_key(key): + if key in _wsgi_intercept: (app_fn, script_name) = _wsgi_intercept[key] app = app_fn() @@ -339,7 +339,7 @@ else: HTTPConnection.connect(self) - except Exception, e: + except Exception as e: if debuglevel: # intercept & print out tracebacks traceback.print_exc() raise --- ./twill/utils.py (original) +++ ./twill/utils.py (refactored) @@ -13,7 +13,7 @@ from lxml iRefactoringTool: Refactored ./twill/unit.py RefactoringTool: Refactored ./twill/shell.py mport etree, html, cssselect import re -from errors import TwillException +from .errors import TwillException class ResultWrapper(object): """ @@ -115,12 +115,12 @@ Pretty-print the given form, assigned # n. """ if f.get('name'): - print>>OUT, '\nForm name=%s (#%d)' % (f.get('name'), n + 1) + print('\nForm name=%s (#%d)' % (f.get('name'), n + 1), file=OUT) else: - print>>OUT, '\nForm #%d' % (n + 1,) + print('\nForm #%d' % (n + 1,), file=OUT) if f.inputs is not None: - print>>OUT, "## ## __Name__________________ __Type___ __ID________ __Value__________________" + print("## ## __Name__________________ __Type___ __ID________ __Value__________________", file=OUT) for n, field in enumerate(f.inputs): if hasattr(field, 'value_options'): @@ -140,10 +140,10 @@ trunc(value_displayed, 40), ) for s in strings: - print>>OUT, s, - print>>OUT, '' - - print '' + print(s, end=' ', file=OUT) + print('', file=OUT) + + print('') def make_boolean(value): """ @@ -243,8 +243,8 @@ options = [i.strip() for i in control.value_options] optionNames = [i.text.strip() for i in control.getchildren()] - fullOptions = dict(zip(optionNames, options)) - for k,v in fullOptions.iteritems(): + fullOptions = dict(list(zip(optionNames, options))) + for k,v in fullOptions.items(): if (val == k or val == v) and flag: if hasattr(control, 'checkable') and control.checkable: control.checked = flag @@ -257,7 +257,7 @@ except ValueError: pass return - raise(TwillException("Attempt to set invalid value")) + raise TwillException else: if(hasattr(control, 'type') and control.type != 'submit'): @@ -326,7 +326,7 @@ """ global _tidy_cmd, _tidy_exists - from commands import _options + from .commands import _options require_tidy = _options.get('require_tidy') if not _tidy_exists: --- ./twill/unit.py (original) +++ ./twill/unit.py (refactored) @@ -3,10 +3,10 @@ """ import sys, os, time -from cStringIO import StringIO +from io import StringIO # package import -from parse import execute_file +from .parse import execute_file class TestInfo: """ --- ./twill/shell.py (original) +++ ./twill/shell.py (refactored) @@ -7,7 +7,7 @@ import cmd from twill import commands, parse, __version__ -import namespaces +from . import namespaces try: import readline @@ -29,8 +29,8 @@ try: args = parse.arguments.parseString(rest_of_line)[0] args = parse.process_args(args, global_dict,local_dict) - except Exception, e: - print '\nINPUT ERROR: %s\n' % (str(e),) + except Exception as e: + print('\nINPUT ERROR: %s\n' % (str(e),)) return try: @@ -38,8 +38,8 @@ "") except SystemExit: raise - except Exception, e: - print '\nERROR: %s\n' % (str(e),) + except Exception as e: + print('\nERROR: %s\n' % (str(e),)) return do_cmd @@ -49,12 +49,12 @@ command/docstring. """ def help_cmd(message=docstring, cmd=cmd): - print '=' * 15 - print '\nHelp for command %s:\n' % (cmd,) - print message.strip() - print '' - print '=' * 15 - print '' + print('=' * 15) + print('\nHelp for command %s:\n' % (cmd,)) + print(message.strip()) + print('') + print('=' * 15) + print('') return help_cmd @@ -93,7 +93,7 @@ by the metaclass. """ def init(self, **kw): - if kw.has_key('stdin'): + if 'stdin' in kw: cmd.Cmd.__init__(self, None, stdin=kw['stdin']) self.use_rawinput = False else: @@ -RefactoringTool: Refactored ./twill/parse.py 225,8 +225,8 @@ "") except SystemExit: raise - except Exception, e: - print '\nERROR: %s\n' % (str(e),) + except Exception as e: + print('\nERROR: %s\n' % (str(e),)) if self.fail_on_unknown: raise @@ -242,21 +242,21 @@ raise SystemExit() def help_help(self): - print "\nWhat do YOU think the command 'help' does?!?\n" + print("\nWhat do YOU think the command 'help' does?!?\n") def do_version(self, *args): - print "\ntwill version %s.\n" % (__version__,) - print "See http://www.idyll.org/~t/www-tools/twill/ for more info." - print "" + print("\ntwill version %s.\n" % (__version__,)) + print("See http://www.idyll.org/~t/www-tools/twill/ for more info.") + print("") def help_version(self): - print "\nPrint version information.\n" + print("\nPrint version information.\n") def do_exit(self, *args): raise SystemExit() def help_exit(self): - print "\nExit twill.\n" + print("\nExit twill.\n") do_quit = do_exit help_quit = help_exit @@ -272,7 +272,7 @@ from twill import TwillCommandLoop, execute_file, __version__ from twill.utils import gather_filenames from optparse import OptionParser - from cStringIO import StringIO + from io import StringIO ### # make sure that the current working directory is in the path. does this @@ -323,7 +323,7 @@ (options, args) = parser.parse_args(sysargs) if options.show_version: - print 'twill version %s.' % (__version__,) + print('twill version %s.' % (__version__,)) sys.exit(0) if options.quiet: @@ -344,7 +344,7 @@ filenames = gather_filenames(args) for filename in filenames: - print '>> EXECUTING FILE', filename + print('>> EXECUTING FILE', filename) try: interactive = False @@ -352,22 +352,22 @@ initial_url=options.url, never_fail=options.never_fail) success.append(filename) - except Exception, e: + except Exception as e: if options.fail: # import pdb # _, _, tb = sys.exc_info() # pdb.post_mortem(tb) raise else: - print '** UNHANDLED EXCEPTION:', str(e) + print('** UNHANDLED EXCEPTION:', str(e)) failure.append(filename) - print '--' - print '%d of %d files SUCCEEDED.' % (len(success), - len(success) + len(failure),) + print('--') + print('%d of %d files SUCCEEDED.' % (len(success), + len(success) + len(failure),)) if len(failure): - print 'Failed:\n\t', - print "\n\t".join(failure) + print('Failed:\n\t', end=' ') + print("\n\t".join(failure)) failed = True if not args or options.interact: --- ./twill/parse.py (original) +++ ./twill/parse.py (refactored) @@ -3,15 +3,15 @@ """ import sys -from cStringIO import StringIO - -from errors import TwillAssertionError, TwillNameError +from io import StringIO + +from .errors import TwillAssertionError, TwillNameError from pyparsing import OneOrMore, Word, printables, quotedString, Optional, \ alphas, alphanums, ParseException, ZeroOrMore, restOfLine, Combine, \ Literal, Group, removeQuotes, CharsNotIn import twill.commands as commands -import namespaces +from . import namespaces import re ### pyparsing stuff @@ -79,9 +79,9 @@ val = arg - print '*** VAL IS', val, 'FOR', arg + print('*** VAL IS', val, 'FOR', arg) - if isinstance(val, str) or isinstance(val, unicode): + if isinstanceRefactoringTool: Refactored ./twill/other_packages/subprocess.py (val, str) or isinstance(val, str): newargs.append(val) else: newargs.extend(val) @@ -141,7 +141,7 @@ res = full_command.parseString(line) if res: if _print_commands: - print>>commands.OUT, "twill: executing cmd '%s'" % (line.strip(),) + print("twill: executing cmd '%s'" % (line.strip(),), file=commands.OUT) args = process_args(res.arguments.asList(), globals_dict, locals_dict) return (res.command, args) @@ -157,7 +157,7 @@ fp = StringIO(buf) kw['source'] = [''] - if not kw.has_key('no_reset'): + if 'no_reset' not in kw: kw['no_reset'] = True _execute_script(fp, **kw) @@ -211,7 +211,7 @@ continue cmdinfo = "%s:%d" % (sourceinfo, n,) - print 'AT LINE:', cmdinfo + print('AT LINE:', cmdinfo) cmd, args = parse_command(line, globals_dict, locals_dict) if cmd is None: @@ -222,25 +222,25 @@ except SystemExit: # abort script execution, if a SystemExit is raised. return - except TwillAssertionError, e: - print>>commands.ERR, '''\ + except TwillAssertionError as e: + print('''\ Oops! Twill assertion error on line %d of '%s' while executing >> %s %s -''' % (n, sourceinfo, line.strip(), e) +''' % (n, sourceinfo, line.strip(), e), file=commands.ERR) if not catch_errors: raise - except Exception, e: - print>>commands.ERR, '''\ + except Exception as e: + print('''\ EXCEPTION raised at line %d of '%s' %s Error message: '%s' -''' % (n, sourceinfo, line.strip(),str(e).strip(),) +''' % (n, sourceinfo, line.strip(),str(e).strip(),), file=commands.ERR) if not catch_errors: raise --- ./twill/other_packages/subprocess.py (original) +++ ./twill/other_packages/subprocess.py (refactored) @@ -490,7 +490,7 @@ """Create new Popen instance.""" _cleanup() - if not isinstance(bufsize, (int, long)): + if not isinstance(bufsize, int): raise TypeError("bufsize must be an integer") if mswindows: @@ -586,7 +586,7 @@ # Detach and turn into fd p2cwrite = p2cwrite.Detach() p2cwrite = msvcrt.open_osfhandle(p2cwrite, 0) - elif type(stdin) == types.IntType: + elif type(stdin) == int: p2cread = msvcrt.get_osfhandle(stdin) else: # Assuming file-like object @@ -600,7 +600,7 @@ # Detach and turn into fd c2pread = c2pread.Detach() c2pread = msvcrt.open_osfhandle(c2pread, 0) - elif type(stdout) == types.IntType: + elif type(stdout) == int: c2pwrite = msvcrt.get_osfhandle(stdout) else: # Assuming file-like object @@ -616,7 +616,7 @@ errread = msvcrt.open_osfhandle(errread, 0) elif stderr == STDOUT: errwrite = c2pwrite - elif type(stderr) == types.IntType: + elif type(stderr) == int: errwrite = msvcrt.get_osfhandle(stderr) else: # Assuming file-like object @@ -659,7 +659,7 @@ errread, errwrite): """Execute program (MS Windows version)""" - if not isinstance(args, types.StringTypes): + if not isinstance(args, (str,)): args = list2cmdline(args) # Process startup details @@ -676,7 +676,7 @@ startupinfo.wShowWindow = SW_HIDE comspec = os.environ.get("COMSPEC", "cmd.exe") args = comspec + " /c " + args - if (GetVersion() >= 0x80000000L or + if (GetVersion() >= 0x80000000 or os.path.basename(comspec).lower() == "command.com"): # Win9x, or using command.com on NT. We need to # use the w9xpopen intermediate program. For more @@ -704,7 +704,7 @@ env, cwd, startupinfo) - except pywintypes.error, e: + except pywintypes.error as e: # Translate pywintypes.error to WindowsError, which is # a subclass of OSError. FIXME: We should really # translate errno using _sys_errlist (or simliar), but @@ -823,7 +823,7 @@ pass elif stdin == PIPE: p2cread, p2cwrite = os.pipe() - elif type(stdin) == types.IntType: + elif type(stdin) == int: p2cread = stdin else: # Assuming file-like object @@ -833,7 +833,7 @@ pass elif stdout == PIPE: c2pread, c2pwrite = os.pipe() - elif type(stdout) == types.IntType: + elif type(stdout) == int: c2pwrite = stdout else: # Assuming file-like object @@ -845,7 +845,7 @@ errread, errwrite = os.pipe() elif stderr == STDOUT: errwrite = c2pwrite - elif type(stderr) == types.IntType: + elif type(stderr) == int: errwrite = stderr else: # Assuming file-like object @@ -867,7 +867,7 @@ def _close_fds(self, but): - for i in xrange(3, MAXFD): + for i in range(3, MAXFD): if i == but: continue try: @@ -884,7 +884,7 @@ errread, errwrite): """Execute program (POSIX version)""" - if isinstance(args, types.StringTypes): + if isinstance(args, (str,)): args = [args] if shell: @@ -1089,8 +1089,8 @@ # Example 1: Simple redirection: Get process list # plist = Popen(["ps"], stdout=PIPE).communicate()[0] - print "Process list:" - print plist + print("Process list:") + print(plist) # # Example 2: Change uid before executing child @@ -1102,42 +1102,42 @@ # # Example 3: Connecting several subprocesses # - print "Looking for 'hda'..." + print("Looking for 'hda'...") p1 = Popen(["dmesg"], stdout=PIPE) p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 4: Catch execution error # - print - print "Trying a weird file..." + print() + print("Trying a weird file...") try: - print Popen(["/this/path/does/not/exist"]).communicate() - except OSError, e: + print(Popen(["/this/path/does/not/exist"]).communicate()) + except OSError as e: if e.errno == errno.ENOENT: - print "The file didn't exist. I thought so..." - print "Child traceback:" - print e.child_traceback + print("The file didn't exist. I thought so...") + print("Child traceback:") + print(e.child_traceback) else: - print "Error", e.errno + print("Error", e.errno) else: - print >>sys.stderr, "Gosh. No error." + print("Gosh. No error.", file=sys.stderr) def _demo_windows(): # # Example 1: Connecting several subprocesses # - print "Looking for 'PROMPT' in set output..." + print("Looking for 'PROMPT' in set output...") p1 = Popen("set", stdout=PIPE, shell=True) p2 = Popen('find "PROMPT"', stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 2: Simple execution of program # - print "Executing calc..." + print("Executing calc...") p = PRefactoringTool: Refactored ./twill/other_packages/pyparsing.py open("calc") p.wait() --- ./twill/other_packages/pyparsing.py (original) +++ ./twill/other_packages/pyparsing.py (refactored) @@ -80,13 +80,13 @@ # it won't break any existing code. return str(obj) - except UnicodeEncodeError, e: + except UnicodeEncodeError as e: # The Python docs (http://docs.python.org/ref/customization.html#l2h-182) # state that "The return value must be a string object". However, does a # unicode object (being a subclass of basestring) count as a "string # object"? # If so, then return a unicode object: - return unicode(obj) + return str(obj) # Else encode it... but how? There are many choices... :) # Replace unprintables with escape codes? #return unicode(obj).encode(sys.getdefaultencoding(), 'backslashreplace_errors') @@ -126,7 +126,7 @@ elif( aname == "line" ): return line( self.loc, self.pstr ) else: - raise AttributeError, aname + raise AttributeError(aname) def __str__( self ): return "%s (at char %d), (line:%d, col:%d)" % ( self.msg, self.loc, self.lineno, self.column ) @@ -199,7 +199,7 @@ name = _ustr(name) # will always return a str, but use _ustr for consistency self.__name = name if not toklist in (None,'',[]): - if isinstance(toklist,basestring): + if isinstance(toklist,str): toklist = [ toklist ] if asList: if isinstance(toklist,ParseResults): @@ -236,25 +236,25 @@ del self.__toklist[i] def __contains__( self, k ): - return self.__tokdict.has_key(k) + return k in self.__tokdict def __len__( self ): return len( self.__toklist ) def __iter__( self ): return iter( self.__toklist ) def keys( self ): """Returns all named result keys.""" - return self.__tokdict.keys() + return list(self.__tokdict.keys()) def items( self ): """Returns all named result keys and values as a list of tuples.""" - return [(k,v[-1][0]) for k,v in self.__tokdict.items()] + return [(k,v[-1][0]) for k,v in list(self.__tokdict.items())] def values( self ): """Returns all named result values.""" - return [ v[-1][0] for v in self.__tokdict.values() ] + return [ v[-1][0] for v in list(self.__tokdict.values()) ] def __getattr__( self, name ): if name not in self.__slots__: - if self.__tokdict.has_key( name ): + if name in self.__tokdict: if self.__modal: return self.__tokdict[name][-1][0] else: @@ -267,7 +267,7 @@ if other.__tokdict: offset = len(self.__toklist) addoffset = ( lambda a: (a<0 and offset) or (a+offset) ) - otherdictitems = [(k,(v[0],addoffset(v[1])) ) for (k,vlist) in other.__tokdict.items() for v in vlist] + otherdictitems = [(k,(v[0],addoffset(v[1])) ) for (k,vlist) in list(other.__tokdict.items()) for v in vlist] for k,v in otherdictitems: self[k] = v if isinstance(v[0],ParseResults): @@ -314,7 +314,7 @@ def asDict( self ): """Returns the named parse results as dictionary.""" - return dict( self.items() ) + return dict( list(self.items()) ) def copy( self ): """Returns a new copy of a ParseResults object.""" @@ -329,7 +329,7 @@ """Returns the parse results as XML. Tags are created for tokens and lists that have defined results names.""" nl = "\n" out = [] - namedItems = dict( [ (v[1],k) for (k,vlist) in self.__tokdict.items() for v in vlist ] ) + namedItems = dict( [ (v[1],k) for (k,vlist) in list(self.__tokdict.items()) for v in vlist ] ) nextLevelIndent = indent + " " # collapse out indents if formatting is not desired @@ -377,7 +377,7 @@ def __lookup(self,sub): - for k,vlist in self.__tokdict.items(): + for k,vlist in list(self.__tokdict.items()): for v,loc in vlist: if sub is v: return k @@ -395,8 +395,8 @@ return None elif (len(self) == 1 and len(self.__tokdict) == 1 and - self.__tokdict.values()[0][0][1] in (0,-1)): - return self.__tokdict.keys()[0] + list(self.__tokdict.values())[0][0][1] in (0,-1)): + return list(self.__tokdict.keys())[0] else: return None @@ -423,13 +423,13 @@ return strg[lastCR+1:] def _defaultStartDebugAction( instring, loc, expr ): - print "Match",expr,"at loc",loc,"(%d,%d)" % ( lineno(loc,instring), col(loc,instring) ) + print("Match",expr,"at loc",loc,"(%d,%d)" % ( lineno(loc,instring), col(loc,instring) )) def _defaultSuccessDebugAction( instring, startloc, endloc, expr, toks ): - print "Matched",expr,"->",toks.asList() + print("Matched",expr,"->",toks.asList()) def _defaultExceptionDebugAction( instring, loc, expr, exc ): - print "Exception raised:", exc + print("Exception raised:", exc) def nullDebugAction(*args): """'Do-nothing' debug action, to suppress debugging output during parsing.""" @@ -548,8 +548,8 @@ try: loc,tokens = self.parseImpl( instring, loc, doActions ) except IndexError: - raise ParseException, ( instring, len(instring), self.errmsg, self ) - except ParseException, err: + raise ParseException( instring, len(instring), self.errmsg, self) + except ParseException as err: #~ print "Exception raised:", err if (self.debugActions[2] ): self.debugActions[2]( instring, tokensStart, self, err ) @@ -562,7 +562,7 @@ try: loc,tokens = self.parseImpl( instring, loc, doActions ) except IndexError: - raise ParseException, ( instring, len(instring), self.errmsg, self ) + raise ParseException( instring, len(instring), self.errmsg, self) else: loc,tokens = self.parseImpl( instring, loc, doActions ) @@ -580,7 +580,7 @@ self.resultsName, asList=self.saveAsList and isinstance(tokens,(ParseResults,list)), modal=self.modalResults ) - except ParseException, err: + except ParseException as err: #~ print "Exception raised in user parse action:", err if (self.debugActions[2] ): self.debugActions[2]( instring, tokensStart, self, err ) @@ -677,7 +677,7 @@ def __add__(self, other ): """Implementation of + operator - returns And""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -686,7 +686,7 @@ def __radd__(self, other ): """Implementation of += operator""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -695,7 +695,7 @@ def __or__(self, other ): """Implementation of | operator - returns MatchFirst""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -704,7 +704,7 @@ def __ror__(self, other ): """Implementation of |= operator""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -713,7 +713,7 @@ def __xor__(self, other ): """Implementation of ^ operator - returns Or""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -722,7 +722,7 @@ def __rxor__(self, other ): """Implementation of ^= operator""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -731,7 +731,7 @@ def __and__(self, other ): """Implementation of & operator - returns Each""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -740,7 +740,7 @@ def __rand__(self, other ): """Implementation of right-& operator""" - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot add element of type %s to ParserElement" % type(other), @@ -1032,7 +1032,7 @@ if max > 0: self.maxLen = max else: - self.maxLen = sys.maxint + self.maxLen = sys.maxsize if exact > 0: self.maxLen = exact @@ -1142,7 +1142,7 @@ try: self.re = re.compile(self.pattern, self.flags) self.reString = self.pattern - except Exception,e: + except Exception as e: warnings.warn("invalid pattern (%s) passed to Regex" % pattern, SyntaxWarning, stacklevel=2) raise @@ -1165,7 +1165,7 @@ d = result.groupdict() ret = ParseResults(result.group()) if d: - for k in d.keys(): + for k in list(d.keys()): ret[k] = d[k] return loc,ret @@ -1236,7 +1236,7 @@ try: self.re = re.compile(self.pattern, self.flags) self.reString = self.pattern - except Exception,e: + except Exception as e: warnings.warn("invalid pattern (%s) passed to Regex" % self.pattern, SyntaxWarning, stacklevel=2) raise @@ -1263,7 +1263,7 @@ # strip off quotes ret = ret[self.quoteCharLen:-self.quoteCharLen] - if isinstance(ret,basestring): + if isinstance(ret,str): # replace escaped characters if self.escChar: ret = re.sub(self.escCharReplacePattern,"\g<1>",ret) @@ -1301,7 +1301,7 @@ if max > 0: self.maxLen = max else: - self.maxLen = sys.maxint + self.maxLen = sys.maxsize if exact > 0: self.maxLen = exact @@ -1380,7 +1380,7 @@ if max > 0: self.maxLen = max else: - self.maxLen = sys.maxint + self.maxLen = sys.maxsize if exact > 0: self.maxLen = exact @@ -1434,7 +1434,7 @@ def parseImpl( self, instring, loc, doActions=True ): thiscol = col( loc, instring ) if thiscol > self.col: - raise ParseException, ( instring, loc, "Text not in expected column", self ) + raise ParseException( instring, loc, "Text not in expected column", self) newloc = loc + self.col - thiscol ret = instring[ loc: newloc ] return newloc, ret @@ -1524,7 +1524,7 @@ super(ParseExpression,self).__init__(savelist) if isinstance( exprs, list ): self.exprs = exprs - elif isinstance( exprs, basestring ): + elif isinstance( exprs, str ): self.exprs = [ Literal( exprs ) ] else: self.exprs = [ exprs ] @@ -1627,12 +1627,12 @@ loc, resultlist = self.exprs[0].parse( instring, loc, doActions ) for e in self.exprs[1:]: loc, exprtokens = e.parse( instring, loc, doActions ) - if exprtokens or exprtokens.keys(): + if exprtokens or list(exprtokens.keys()): resultlist += exprtokens return loc, resultlist def __iadd__(self, other ): - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) return self.append( other ) #And( [ self, other ] ) @@ -1672,11 +1672,11 @@ for e in self.exprs: try: loc2 = e.tryParse( instring, loc ) - except ParseException, err: + except ParseException as err: if err.loc > maxExcLoc: maxException = err maxExcLoc = err.loc - except IndexError, err: + except IndexError as err: if len(instring) > maxExcLoc: maxException = ParseException(instring,len(instring),e.errmsg,self) maxExcLoc = len(instring) @@ -1694,7 +1694,7 @@ return maxMatchExp.parse( instring, loc, doActions ) def __ixor__(self, other ): - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) return self.append( other ) #Or( [ self, other ] ) @@ -1735,11 +1735,11 @@ try: ret = e.parse( instring, loc, doActions ) return ret - except ParseException, err: + except ParseException as err: if err.loc > maxExcLoc: maxException = err maxExcLoc = err.loc - except IndexError, err: + except IndexError as err: if len(instring) > maxExcLoc: maxException = ParseException(instring,len(instring),e.errmsg,self) maxExcLoc = len(instring) @@ -1752,7 +1752,7 @@ raise ParseException(instring, loc, "no defined alternatives to match", self) def __ior__(self, other ): - if isinstance( other, basestring ): + if isinstance( other, str ): other = Literal( other ) return self.append( other ) #MatchFirst( [ self, other ] ) @@ -1825,13 +1825,13 @@ finalResults = ParseResults([]) for r in resultlist: dups = {} - for k in r.keys(): - if k in finalResults.keys(): + for k in list(r.keys()): + if k in list(finalResults.keys()): tmp = ParseResults(finalResults[k]) tmp += ParseResults(r[k]) dups[k] = tmp finalResults += ParseResults(r) - for k,v in dups.items(): + for k,v in list(dups.items()): finalResults[k] = v return loc, finalResults @@ -1854,7 +1854,7 @@ """Abstract subclass of ParserElement, for combining and post-processing parsed tokens.""" def __init__( self, expr, savelist=False ): super(ParseElementEnhance,self).__init__(savelist) - if isinstance( expr, basestring ): + if isinstance( expr, str ): expr = Literal(expr) self.expr = expr self.strRepr = None @@ -1984,7 +1984,7 @@ if hasIgnoreExprs: loc = self.skipIgnorables( instring, loc ) loc, tmptokens = self.expr.parse( instring, loc, doActions ) - if tmptokens or tmptokens.keys(): + if tmptokens or list(tmptokens.keys()): tokens += tmptokens except (ParseException,IndexError): pass @@ -2017,7 +2017,7 @@ if hasIgnoreExprs: loc = self.skipIgnorables( instring, loc ) loc, tmptokens = self.expr.parse( instring, loc, doActions ) - if tmptokens or tmptokens.keys(): + if tmptokens or list(tmptokens.keys()): tokens += tmptokens except (ParseException,IndexError): pass @@ -2184,7 +2184,7 @@ DeprecationWarning,stacklevel=2) def postParse( self, instring, loc, tokenlist ): - return map( string.upper, tokenlist ) + return list(map( string.upper, tokenlist )) class Combine(TokenConverter): @@ -2213,7 +2213,7 @@ del retToks[:] retToks += ParseResults([ "".join(tokenlist._asStringList(self.joinString)) ], modal=self.modalResults) - if self.resultsName and len(retToks.keys())>0: + if self.resultsName and len(list(retToks.keys()))>0: return [ retToks ] else: return retToks @@ -2246,7 +2246,7 @@ else: dictvalue = tok.copy() #ParseResults(i) del dictvalue[0] - if len(dictvalue)!= 1 or (isinstance(dictvalue,ParseResults) and dictvalue.keys()): + if len(dictvalue)!= 1 or (isinstance(dictvalue,ParseResults) and list(dictvalue.keys())): tokenlist[ikey] = (dictvalue,i) else: tokenlist[ikey] = (dictvalue[0],i) @@ -2312,7 +2312,7 @@ if isinstance(strs,list): symbols = strs[:] - elif isinstance(strs,basestring): + elif isinstance(strs,str): symbols = strs.split() else: warnings.warn("Invalid argument to oneOf, expected string or list", @@ -2370,13 +2370,13 @@ _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1]) _printables_less_backslash = "".join([ c for c in printables if c not in r"\]" ]) -_escapedHexChar = Combine( Suppress(_bslash + "0x") + Word(hexnums) ).setParseAction(lambda s,l,t:unichr(int(t[0],16))) -_escapedOctChar = Combine( Suppress(_bslash) + Word("0","01234567") ).setParseAction(lambda s,l,t:unichr(int(t[0],8))) +_escapedHexChar = Combine( Suppress(_bslash + "0x") + Word(hexnums) ).setParseAction(lambda s,l,t:chr(int(t[0],16))) +_escapedOctChar = Combine( Suppress(_bslash) + Word("0","01234567") ).setParseAction(lambda s,l,t:chr(int(t[0],8))) _singleChar = _escapedPunc | _escapedHexChar | _escapedOctChar | Word(_printables_less_backslash,exact=1) _charRange = Group(_singleChar + Suppress("-") + _singleChar) _reBracketExpr = "[" + Optional("^").setResultsName("negate") + Group( OneOrMore( _charRange | _singleChar ) ).setResultsName("body") + "]" -_expanded = lambda p: (isinstance(p,ParseResults) and ''.join([ unichr(c) for c in range(ord(p[0]),ord(p[1])+1) ]) or p) +_expanded = lambda p: (isinstance(p,ParseResults) and ''.join([ chr(c) for c in range(ord(p[0]),ord(p[1])+1) ]) or p) def srange(s): r"""Helper to easily define string ranges for use in Word construction. Borrows @@ -2416,11 +2416,11 @@ def upcaseTokens(s,l,t): """Helper parse action to convert tokens to upper case.""" - return map( str.upper, t ) + return list(map( str.upper, t )) def downcaseTokens(s,l,t): """Helper parse action to convert tokens to lower case.""" - return map( str.lower, t ) + return list(map( str.lower, t )) def _makeTags(tagStr, xml): """Internal helper to construct opening and closing tag expressions, given a tag name""" @@ -2477,20 +2477,20 @@ if __name__ == "__main__": def test( teststring ): - print teststring,"->", + print(teststring,"->", end=' ') try: tokens = simpleSQL.parseStrinRefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_util.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_useragent.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_urllib2.py g( teststring ) tokenlist = tokens.asList() - print tokenlist - print "tokens = ", tokens - print "tokens.columns =", tokens.columns - print "tokens.tables =", tokens.tables - print tokens.asXML("SQL",True) - except ParseException, err: - print err.line - print " "*(err.column-1) + "^" - print err - print + print(tokenlist) + print("tokens = ", tokens) + print("tokens.columns =", tokens.columns) + print("tokens.tables =", tokens.tables) + print(tokens.asXML("SQL",True)) + except ParseException as err: + print(err.line) + print(" "*(err.column-1) + "^") + print(err) + print() selectToken = CaselessLiteral( "select" ) fromToken = CaselessLiteral( "from" ) --- ./twill/other_packages/_mechanize_dist/_util.py (original) +++ ./twill/other_packages/_mechanize_dist/_util.py (refactored) @@ -90,7 +90,7 @@ timezone_re = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") def offset_from_tz_string(tz): offset = None - if UTC_ZONES.has_key(tz): + if tz in UTC_ZONES: offset = 0 else: m = timezone_re.search(tz) --- ./twill/other_packages/_mechanize_dist/_useragent.py (original) +++ ./twill/other_packages/_mechanize_dist/_useragent.py (refactored) @@ -11,13 +11,13 @@ """ -import sys, warnings, urllib2 - -import _opener -import _urllib2 -import _auth -import _gzip -import _response +import sys, warnings, urllib.request, urllib.error, urllib.parse + +from . import _opener +from . import _urllib2 +from . import _auth +from . import _gzip +from . import _response class UserAgentBase(_opener.OpenerDirector): @@ -99,7 +99,7 @@ self.default_features): klass = self.handler_classes[scheme] ua_handlers[scheme] = klass() - for handler in ua_handlers.itervalues(): + for handler in ua_handlers.values(): self.add_handler(handler) # Yuck. @@ -154,14 +154,14 @@ want[scheme] = None # get rid of scheme handlers we don't want - for scheme, oldhandler in self._ua_handlers.items(): + for scheme, oldhandler in list(self._ua_handlers.items()): if scheme.startswith("_"): continue # not a scheme handler if scheme not in want: self._replace_handler(scheme, None) else: del want[scheme] # already got it # add the scheme handlers that are missing - for scheme in want.keys(): + for scheme in list(want.keys()): self._set_handler(scheme, True) def set_cookiejar(self, cookiejar): --- ./twill/other_packages/_mechanize_dist/_urllib2.py (original) +++ ./twill/other_packages/_mechanize_dist/_urllib2.py (refactored) @@ -1,13 +1,9 @@ -# urllib2 work-alike interface -# ...from urllib2... -from urllib2 import \ - URLError, \ - HTTPError +from urllib.error import URLError, HTTPError # ...and from mechanize -from _opener import OpenerDirector, \ +from ._opener import OpenerDirector, \ SeekableResponseOpener, \ build_opener, install_opener, urlopen -from _auth import \ +from ._auth import \ HTTPPasswordMgr, \ HTTPPasswordMgrWithDefaultRealm, \ AbstractBasicAuthHandler, \ @@ -19,21 +15,13 @@ HTTPBasicAuthHandler, \ HTTPDigestAuthHandler, \ HTTPSClientCertMgr -from _request import \ +from ._request import \ Request -from _http import \ +from ._http import \ RobotExclusionError - -# handlers... -# ...from urllib2... -from urllib2 import \ - BaseHandler, \ - UnknownHandler, \ - FTPHandler, \ - CacheFTPHandler, \ - FileHandler +from urllib.request import BaseHandler, UnknownHandler, FTPHandler, CacheFTPHandler, FileHandler # ...and from mechanize -from _http import \ +from ._http import \ HTTPHandler, \ HTTPDefaultErrorHandler, \ HTTPRedirectHandler, \ @@ RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_upgrade.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_seek.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_rfc3986.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_response.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_request.py -43,18 +31,18 @@ HTTPRefreshProcessor, \ HTTPErrorProcessor, \ HTTPRobotRulesProcessor -from _upgrade import \ +from ._upgrade import \ HTTPRequestUpgradeProcessor, \ ResponseUpgradeProcessor -from _debug import \ +from ._debug import \ HTTPResponseDebugProcessor, \ HTTPRedirectDebugProcessor -from _seek import \ +from ._seek import \ SeekableProcessor # crap ATM ## from _gzip import \ ## HTTPGzipProcessor -import httplib +import http.client if hasattr(httplib, 'HTTPS'): - from _http import HTTPSHandler + from ._http import HTTPSHandler del httplib --- ./twill/other_packages/_mechanize_dist/_upgrade.py (original) +++ ./twill/other_packages/_mechanize_dist/_upgrade.py (refactored) @@ -1,8 +1,8 @@ -from urllib2 import BaseHandler +from urllib.request import BaseHandler -from _request import Request -from _response import upgrade_response -from _util import deprecation +from ._request import Request +from ._response import upgrade_response +from ._util import deprecation class HTTPRequestUpgradeProcessor(BaseHandler): --- ./twill/other_packages/_mechanize_dist/_seek.py (original) +++ ./twill/other_packages/_mechanize_dist/_seek.py (refactored) @@ -1,6 +1,6 @@ -from urllib2 import BaseHandler -from _util import deprecation -from _response import response_seek_wrapper +from urllib.request import BaseHandler +from ._util import deprecation +from ._response import response_seek_wrapper class SeekableProcessor(BaseHandler): --- ./twill/other_packages/_mechanize_dist/_rfc3986.py (original) +++ ./twill/other_packages/_mechanize_dist/_rfc3986.py (refactored) @@ -12,7 +12,7 @@ # XXX Wow, this is ugly. Overly-direct translation of the RFC ATM. -import sys, re, posixpath, urllib +import sys, re, posixpath, urllib.request, urllib.parse, urllib.error ## def chr_range(a, b): ## return "".join(map(chr, range(ord(a), ord(b)+1))) @@ -40,7 +40,7 @@ url = url.strip() # for second param to urllib.quote(), we want URI_CHARS, minus the # 'always_safe' characters that urllib.quote() never percent-encodes - return urllib.quote(url.encode(encoding), "!*'();:@&=+$,/?%#[]~") + return urllib.parse.quote(url.encode(encoding), "!*'();:@&=+$,/?%#[]~") def is_clean_uri(uri): """ --- ./twill/other_packages/_mechanize_dist/_response.py (original) +++ ./twill/other_packages/_mechanize_dist/_response.py (refactored) @@ -22,8 +22,8 @@ from mimetools import Message except ImportError: from email.message import Message -from cStringIO import StringIO -import urllib2 +from io import StringIO +import urllib.request, urllib.error, urllib.parse # XXX Andrew Dalke kindly sent me a similar class in response to my request on # comp.lang.python, which I then proceeded to lose. I wrote this class @@ -232,7 +232,7 @@ return data def __iter__(self): return self - def next(self): + def __next__(self): line = self.readline() if line == "": raise StopIteration return line @@ -287,7 +287,7 @@ def read(self, size=-1): return "" def readline(self, size=-1): return "" def __iter__(self): return self - def next(self): return "" + def __next__(self): return "" def close(self): pass class eofresponse(eoffile): @@ -344,7 +344,7 @@ else: self.fileno = lambda: None self.__iter__ = self.fp.__iter__ - self.next = self.fp.next + self.next = self.fp.__next__ def __repr__(self): return '<%s at %s whose fp = %r>' % ( @@ -425,7 +425,7 @@ def get_seek_wrapper_class(response): # in order to wrap response objects that are also exceptions, we must # dynamically subclass the exception :-((( - if (isinstance(response, urllib2.HTTPError) and + if (isinstance(response, urllib.error.HTTPError) and not hasattr(response, "seek")): if response.__class__.__module__ == "__builtin__": exc_class_name = response.__class__.__name__ --- ./twill/other_packages/_mechanize_dist/_request.py (original) +RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_pullparser.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_opener.py ++ ./twill/other_packages/_mechanize_dist/_request.py (refactored) @@ -8,17 +8,17 @@ """ -import urllib2, urllib, logging +import urllib.request, urllib.error, urllib.parse, urllib.request, urllib.parse, urllib.error, logging -from _clientcookie import request_host -import _rfc3986 +from ._clientcookie import request_host +from . import _rfc3986 warn = logging.getLogger("mechanize").warning # don't complain about missing logging handler logging.getLogger("mechanize").setLevel(logging.ERROR) -class Request(urllib2.Request): +class Request(urllib.request.Request): def __init__(self, url, data=None, headers={}, origin_req_host=None, unverifiable=False, visit=None): # In mechanize 0.2, the interpretation of a unicode url argument will @@ -33,7 +33,7 @@ "(contains illegal characters) %r" % url) url = url.strip("'") url = url.strip('"') - urllib2.Request.__init__(self, url, data, headers) + urllib.request.Request.__init__(self, url, data, headers) self.selector = None self.unredirected_hdrs = {} self.visit = visit @@ -51,7 +51,7 @@ self.origin_req_host = origin_req_host def get_selector(self): - return urllib.splittag(self.__r_host)[0] + return urllib.parse.splittag(self.__r_host)[0] def get_origin_req_host(self): return self.origin_req_host @@ -76,7 +76,7 @@ def header_items(self): hdrs = self.unredirected_hdrs.copy() hdrs.update(self.headers) - return hdrs.items() + return list(hdrs.items()) def __str__(self): return "" % self.get_full_url() --- ./twill/other_packages/_mechanize_dist/_pullparser.py (original) +++ ./twill/other_packages/_mechanize_dist/_pullparser.py (refactored) @@ -33,10 +33,10 @@ """ -import re, htmlentitydefs -import sgmllib, HTMLParser - -from _html import unescape, unescape_charref +import re, html.entities +import sgmllib, html.parser + +from ._html import unescape, unescape_charref class NoMoreTokensError(Exception): pass @@ -141,7 +141,7 @@ self.textify = textify self.encoding = encoding if entitydefs is None: - entitydefs = htmlentitydefs.name2codepoint + entitydefs = html.entities.name2codepoint self._entitydefs = entitydefs def __iter__(self): return self @@ -152,7 +152,7 @@ def tokens(self, *tokentypes): return iter_until_exception(self.get_token, NoMoreTokensError, *tokentypes) - def next(self): + def __next__(self): try: return self.get_token() except NoMoreTokensError: @@ -306,9 +306,9 @@ escaped_attrs.append((key, self.unescape_attr(val))) return escaped_attrs -class PullParser(_AbstractParser, HTMLParser.HTMLParser): +class PullParser(_AbstractParser, html.parser.HTMLParser): def __init__(self, *args, **kwds): - HTMLParser.HTMLParser.__init__(self) + html.parser.HTMLParser.__init__(self) _AbstractParser.__init__(self, *args, **kwds) def unescape(self, name): # Use the entitydefs passed into constructor, not --- ./twill/other_packages/_mechanize_dist/_opener.py (original) +++ ./twill/other_packages/_mechanize_dist/_opener.py (refactored) @@ -9,7 +9,7 @@ """ -import os, urllib2, bisect, urllib, httplib, types, tempfile +import os, urllib.request, urllib.error, urllib.parse, bisect, urllib.request, urllib.parse, urllib.error, http.client, types, tempfile try: import threading as _threading except ImportError: @@ -20,23 +20,23 @@ import sets set = sets.Set -import _http -import _upgrade -import _rfc3986 -import _response -from _util import isstringlike -from _request import Request - - -class ContentTooShortError(urllib2.URLError): +from . import _http +from . import _upgrade +from . import _rfc3986 +from . import _response +from ._util import isstringlike +from ._request import Request + + +class ContentTooShortError(urllib.error.URLError): def __init__(self, reason, result): - urllib2.URLError.__init__(self, reason) + urllib.error.URLError.__init__(self, reason) self.result = result -class OpenerDirector(urllib2.OpenerDirector): +class OpenerDirector(urllib.request.OpenerDirector): def __init__(self): - urllib2.OpenerDirector.__init__(self) + urllib.request.OpenerDirector.__init__(self) # really none of these are (sanely) public -- the lack of initial # underscore on some is just due to following urllib2 self.process_response = {} @@ -118,14 +118,14 @@ # sort indexed methods # XXX could be cleaned up for lookup in [process_request, process_response]: - for scheme, handlers in lookup.iteritems(): + for scheme, handlers in lookup.items(): lookup[scheme] = handlers - for scheme, lookup in handle_error.iteritems(): - for code, handlers in lookup.iteritems(): + for scheme, lookup in handle_error.items(): + for code, handlers in lookup.items(): handlers = list(handlers) handlers.sort() lookup[code] = handlers - for scheme, handlers in handle_open.iteritems(): + for scheme, handlers in handle_open.items(): handlers = list(handlers) handlers.sort() handle_open[scheme] = handlers @@ -176,8 +176,8 @@ # In Python >= 2.4, .open() supports processors already, so we must # call ._open() instead. - urlopen = getattr(urllib2.OpenerDirector, "_open", - urllib2.OpenerDirector.open) + urlopen = getattr(urllib.request.OpenerDirector, "_open", + urllib.request.OpenerDirector.open) response = urlopen(self, req, data) # post-process response @@ -206,13 +206,13 @@ meth_name = proto + '_error' http_err = 0 args = (dict, proto, meth_name) + args - result = apply(self._call_chain, args) + result = self._call_chain(*args) if result: return result if http_err: args = (dict, 'default', 'http_error_default') + orig_args - return apply(self._call_chain, args) + return self._call_chain(*args) BLOCK_SIZE = 1024*8 def retrieve(self, fullurl, filename=None, reporthook=None, data=None): @@ -283,7 +283,7 @@ return result def close(self): - urllib2.OpenerDirector.close(self) + urllib.request.OpenerDirector.close(self) # make it very obvious this object is no longer supposed to be used self.open = self.error = self.retrieve = self.add_handler = None @@ -301,7 +301,7 @@ success = True try: response = urlopen(fullurl, data) - except urllib2.HTTPError, error: + except urllib.error.HTTPError as error: success = False if error.fp is None: # not a response raise @@ -336,13 +336,13 @@ default_classes = [ # handlers - urllib2.ProxyHandler, - urllib2.UnknownHandler, + urllib.request.ProxyHandler, + urllib.request.UnknownHandler, _http.HTTPHandler, # derived from new AbstractHTTPHandler _http.HTTPDefaultErrorHandler, _http.HTTPRedirectHandler, # bugfixed - urllib2.FTPHandler, - urllib2.FileHandler, + urllib.request.FTPHandler, + urllib.request.FileHandler, # processors _upgrade.HTTPRequestUpgradeProcessor, _http.HTTPCookieProcessor, @@ -371,7 +371,7 @@ skip = [] for klass in default_classes: for check in handlers: - if type(check) == types.ClassType: + if type(check) == type: if issubclass(check, klass): skip.append(klass) elif type(check) == types.InstanceType: @@ -383,7 +383,7 @@ for klass in default_classes: opener.add_handleRefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_msiecookiejar.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_mozillacookiejar.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_mechanize.py r(klass()) for h in handlers: - if type(h) == types.ClassType: + if type(h) == type: h = h() opener.add_handler(h) --- ./twill/other_packages/_mechanize_dist/_msiecookiejar.py (original) +++ ./twill/other_packages/_mechanize_dist/_msiecookiejar.py (refactored) @@ -13,24 +13,24 @@ import os, re, time, struct, logging if os.name == "nt": - import _winreg - -from _clientcookie import FileCookieJar, CookieJar, Cookie, \ + import winreg + +from ._clientcookie import FileCookieJar, CookieJar, Cookie, \ MISSING_FILENAME_TEXT, LoadError debug = logging.getLogger("mechanize").debug def regload(path, leaf): - key = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, path, 0, - _winreg.KEY_ALL_ACCESS) + key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, path, 0, + winreg.KEY_ALL_ACCESS) try: - value = _winreg.QueryValueEx(key, leaf)[0] + value = winreg.QueryValueEx(key, leaf)[0] except WindowsError: value = None return value -WIN32_EPOCH = 0x019db1ded53e8000L # 1970 Jan 01 00:00:00 in Win32 FILETIME +WIN32_EPOCH = 0x019db1ded53e8000 # 1970 Jan 01 00:00:00 in Win32 FILETIME def epoch_time_offset_from_win32_filetime(filetime): """Convert from win32 filetime to seconds-since-epoch value. @@ -46,7 +46,7 @@ raise ValueError("filetime (%d) is before epoch (%d)" % (filetime, WIN32_EPOCH)) - return divmod((filetime - WIN32_EPOCH), 10000000L)[0] + return divmod((filetime - WIN32_EPOCH), 10000000)[0] def binary_to_char(c): return "%02X" % ord(c) def binary_to_str(d): return "".join(map(binary_to_char, list(d))) @@ -92,7 +92,7 @@ if key == "": break rl = cookies_fh.readline - def getlong(rl=rl): return long(rl().rstrip()) + def getlong(rl=rl): return int(rl().rstrip()) def getstr(rl=rl): return rl().rstrip() key = key.rstrip() @@ -345,7 +345,7 @@ """Return a list of cookies to be returned to server.""" domains = self._cookies.copy() domains.update(self._delayload_domains) - domains = domains.keys() + domains = list(domains.keys()) cookies = [] for domain in domains: @@ -363,7 +363,7 @@ def read_all_cookies(self): """Eagerly read in all cookies.""" if self.delayload: - for domain in self._delayload_domains.keys(): + for domain in list(self._delayload_domains.keys()): self._delayload_domain(domain) def load(self, filename, ignore_discard=False, ignore_expires=False, --- ./twill/other_packages/_mechanize_dist/_mozillacookiejar.py (original) +++ ./twill/other_packages/_mechanize_dist/_mozillacookiejar.py (refactored) @@ -11,7 +11,7 @@ import re, time, logging -from _clientcookie import reraise_unmasked_exceptions, FileCookieJar, Cookie, \ +from ._clientcookie import reraise_unmasked_exceptions, FileCookieJar, Cookie, \ MISSING_FILENAME_TEXT, LoadError debug = logging.getLogger("ClientCookie").debug --- ./twill/other_packages/_mechanize_dist/_mechanize.py (original) +++ ./twill/other_packages/_mechanize_dist/_mechanize.py (refactored) @@ -9,14 +9,14 @@ """ -import urllib2, sys, copy, re, os, urllib - - -from _useragent import UserAgentBase -from _html import DefaultFactory -import _response -import _request -import _rfc3986 +import urllib.request, urllib.error, urllib.parse, sys, copy, re, os, urllib.request, urllib.parse, urllib.error + + +from ._useragent import UserAgentBase +from ._html import DefaultFactory +from . import _response +from . import _request +from . import _rfc3986 __version__ = (0, 1, 8, "b", None) # 0.1.8b @@ -26,7 +26,7 @@ def sanepathname2url(path): - urlpath = urllib.pathname2url(path) + urlpath = urllib.request.pathname2url(path) if os.name == "nt" and urlpath.startswith("///"): urlpath = urlpath[2:] # XXX don't ask meRefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_lwpcookiejar.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_http.py about the mac... @@ -61,7 +61,7 @@ del self._history[:] -class HTTPRefererProcessor(urllib2.BaseHandler): +class HTTPRefererProcessor(urllib.request.BaseHandler): def http_request(self, request): # See RFC 2616 14.36. The only times we know the source of the # request URI has a URI associated with it are redirect, and @@ -127,10 +127,10 @@ self._history = history if request_class is None: - if not hasattr(urllib2.Request, "add_unredirected_header"): + if not hasattr(urllib.request.Request, "add_unredirected_header"): request_class = _request.Request else: - request_class = urllib2.Request # Python >= 2.4 + request_class = urllib.request.Request # Python >= 2.4 if factory is None: factory = DefaultFactory() @@ -236,7 +236,7 @@ success = True try: response = UserAgentBase.open(self, request, data) - except urllib2.HTTPError, error: + except urllib.error.HTTPError as error: success = False if error.fp is None: # not a response raise @@ -623,7 +623,7 @@ """ try: - return self._filter_links(self._factory.links(), **kwds).next() + return next(self._filter_links(self._factory.links(), **kwds)) except StopIteration: raise LinkNotFoundError() --- ./twill/other_packages/_mechanize_dist/_lwpcookiejar.py (original) +++ ./twill/other_packages/_mechanize_dist/_lwpcookiejar.py (refactored) @@ -20,10 +20,10 @@ import time, re, logging -from _clientcookie import reraise_unmasked_exceptions, FileCookieJar, Cookie, \ +from ._clientcookie import reraise_unmasked_exceptions, FileCookieJar, Cookie, \ MISSING_FILENAME_TEXT, LoadError -from _headersutil import join_header_words, split_header_words -from _util import iso2time, time2isoz +from ._headersutil import join_header_words, split_header_words +from ._util import iso2time, time2isoz debug = logging.getLogger("mechanize").debug --- ./twill/other_packages/_mechanize_dist/_http.py (original) +++ ./twill/other_packages/_mechanize_dist/_http.py (refactored) @@ -12,18 +12,21 @@ """ -import copy, time, tempfile, htmlentitydefs, re, logging, socket, \ - urllib2, urllib, httplib, sgmllib -from urllib2 import URLError, HTTPError, BaseHandler -from cStringIO import StringIO - -from _request import Request -from _util import isstringlike -from _response import closeable_response, response_seek_wrapper -from _html import unescape, unescape_charref -from _headersutil import is_html -from _clientcookie import CookieJar, request_host -import _rfc3986 +import copy, time, tempfile, html.entities, re, logging, socket, \ + urllib.request, \ + urllib.error, \ + urllib.parse, urllib.request, urllib.parse, urllib.error, http.client, sgmllib +from urllib.error import URLError, HTTPError +from urllib.request import BaseHandler +from io import StringIO + +from ._request import Request +from ._util import isstringlike +from ._response import closeable_response, response_seek_wrapper +from ._html import unescape, unescape_charref +from ._headersutil import is_html +from ._clientcookie import CookieJar, request_host +from . import _rfc3986 debug = logging.getLogger("mechanize").debug @@ -99,9 +102,9 @@ def http_error_302(self, req, fp, code, msg, headers): # Some servers (incorrectly) return multiple Location headers # (so probably same goes for URI). Use first header. - if headers.has_key('location'): + if 'location' in headers: newurl = headers.getheaders('location')[0] - elif headers.has_key('uri'): + elif 'uri' in headers: newurl = headers.getheaders('uri')[0] else: return @@ -149,7 +152,7 @@ head_elems = ("html", "head", "title", "base", "script", "style", "meta", "link", "object") - _entitydefs = htmlentitydefs.name2codepoint + _entitydefs = html.entities.name2codepoint _encoding = DEFAULT_ENCODING def __init__(self): @@ -184,7 +187,7 @@ def unescape_attrs(self, attrs): #debug("%s", attrs) escaped_attrs = {} - for key, val in attrs.items(): + for key, val in list(attrs.items()): escaped_attrs[key] = self.unescape_attr(val) return escaped_attrs @@ -196,14 +199,14 @@ try: - import HTMLParser + import html.parser except ImportError: pass else: class XHTMLCompatibleHeadParser(AbstractHeadParser, - HTMLParser.HTMLParser): + html.parser.HTMLParser): def __init__(self): - HTMLParser.HTMLParser.__init__(self) + html.parser.HTMLParser.__init__(self) AbstractHeadParser.__init__(self) def handle_starttag(self, tag, attrs): @@ -303,7 +306,7 @@ html_headers = parse_head(response, self.head_parser_class()) finally: response.seek(0) - except (HTMLParser.HTMLParseError, + except (html.parser.HTMLParseError, sgmllib.SGMLParseError): pass else: @@ -342,15 +345,15 @@ https_response = http_response try: - import robotparser + import urllib.robotparser except ImportError: pass else: - class MechanizeRobotFileParser(robotparser.RobotFileParser): + class MechanizeRobotFileParser(urllib.robotparser.RobotFileParser): def __init__(self, url='', opener=None): - import _opener - robotparser.RobotFileParser.__init__(self, url) + from . import _opener + urllib.robotparser.RobotFileParser.__init__(self, url) self._opener = opener def set_opener(self, opener=None): @@ -365,10 +368,10 @@ req = Request(self.url, unverifiable=True, visit=False) try: f = self._opener.open(req) - except HTTPError, f: + except HTTPError as f: pass - except (IOError, socket.error, OSError), exc: - robotparser._debug("ignoring error opening %r: %s" % + except (IOError, socket.error, OSError) as exc: + urllib.robotparser._debug("ignoring error opening %r: %s" % (self.url, exc)) return lines = [] @@ -379,17 +382,17 @@ status = f.code if status == 401 or status == 403: self.disallow_all = True - robotparser._debug("disallow all") + urllib.robotparser._debug("disallow all") elif status >= 400: self.allow_all = True - robotparser._debug("allow all") + urllib.robotparser._debug("allow all") elif status == 200 and lines: - robotparser._debug("parse lines") + urllib.robotparser._debug("parse lines") self.parse(lines) - class RobotExclusionError(urllib2.HTTPError): + class RobotExclusionError(urllib.error.HTTPError): def __init__(self, request, *args): - apply(urllib2.HTTPError.__init__, (self,)+args) + urllib.error.HTTPError.__init__(*(self,)+args) self.request = request class HTTPRobotRulesProcessor(BaseHandler): @@ -397,7 +400,7 @@ handler_order = 800 try: - from httplib import HTTPMessage + from http.client import HTTPMessage except: from mimetools import Message http_response_class = Message @@ -544,7 +547,7 @@ def http_response(self, request, response): code, msg, hdrs = response.code, response.msg, response.info() - if code == 200 and hdrs.has_key("refresh"): + if code == 200 and "refresh" in hdrs: refresh = hdrs.getheaders("refresh")[0] try: RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_html.py pause, newurl = parse_refresh_header(refresh) @@ -600,10 +603,10 @@ # place rather than a response object, I don't know, but to avoid # multiple wrapping, we're discarding them - if isinstance(fp, urllib2.HTTPError): + if isinstance(fp, urllib.error.HTTPError): response = fp else: - response = urllib2.HTTPError( + response = urllib.error.HTTPError( req.get_full_url(), code, msg, hdrs, fp) assert code == response.code assert msg == response.msg @@ -631,8 +634,8 @@ 'Content-type', 'application/x-www-form-urlencoded') - scheme, sel = urllib.splittype(request.get_selector()) - sel_host, sel_path = urllib.splithost(sel) + scheme, sel = urllib.parse.splittype(request.get_selector()) + sel_host, sel_path = urllib.parse.splithost(sel) if not request.has_header('Host'): request.add_unredirected_header('Host', sel_host or host) for name, value in self.parent.addheaders: @@ -669,11 +672,11 @@ # request. headers["Connection"] = "close" headers = dict( - [(name.title(), val) for name, val in headers.items()]) + [(name.title(), val) for name, val in list(headers.items())]) try: h.request(req.get_method(), req.get_selector(), req.data, headers) r = h.getresponse() - except socket.error, err: # XXX what error? + except socket.error as err: # XXX what error? raise URLError(err) # Pick apart the HTTPResponse object to get the addinfourl @@ -697,7 +700,7 @@ class HTTPHandler(AbstractHTTPHandler): def http_open(self, req): - return self.do_open(httplib.HTTPConnection, req) + return self.do_open(http.client.HTTPConnection, req) http_request = AbstractHTTPHandler.do_request_ @@ -708,7 +711,7 @@ self._key_file = key_file self._cert_file = cert_file def __call__(self, hostport): - return httplib.HTTPSConnection( + return http.client.HTTPSConnection( hostport, key_file=self._key_file, cert_file=self._cert_file) @@ -723,7 +726,7 @@ req.get_full_url()) conn_factory = HTTPSConnectionFactory(key_file, cert_file) else: - conn_factory = httplib.HTTPSConnection + conn_factory = http.client.HTTPSConnection return self.do_open(conn_factory, req) https_request = AbstractHTTPHandler.do_request_ --- ./twill/other_packages/_mechanize_dist/_html.py (original) +++ ./twill/other_packages/_mechanize_dist/_html.py (refactored) @@ -8,12 +8,12 @@ """ -import re, copy, htmlentitydefs -import sgmllib, HTMLParser, ClientForm - -import _request -from _headersutil import split_header_words, is_html as _is_html -import _rfc3986 +import re, copy, html.entities +import sgmllib, html.parser, ClientForm + +from . import _request +from ._headersutil import split_header_words, is_html as _is_html +from . import _rfc3986 DEFAULT_ENCODING = "latin-1" @@ -108,7 +108,7 @@ link_class=Link, urltags=None, ): - import _pullparser + from . import _pullparser if link_parser_class is None: link_parser_class = _pullparser.TolerantPullParser self.link_parser_class = link_parser_class @@ -137,7 +137,7 @@ p = self.link_parser_class(response, encoding=encoding) try: - for token in p.tags(*(self.urltags.keys()+["base"])): + for token in p.tags(*(list(self.urltags.keys())+["base"])): if token.type == "endtag": continue if token.data == "base": @@ -169,7 +169,7 @@ #text = p.get_compressed_text() yield Link(base_url, url, text, tag, token.attrs) - except sgmllib.SGMLParseError, exc: + except sgmllib.SGMLParseError as exc: raise ParseError(exc) class FormsFactory: @@ -190,7 +190,7 @@ request_class=None, backwards_compat=False, ): - import ClientForm + from . import ClientForm self.select_default = select_default if form_parser_class is None: form_parser_class = ClientForm.FormParser @@ -209,7 +209,7 @@ self.global_form = None def forms(self): - import ClientForm + from . import ClientForm encoding = self.encoding try: forms = ClientForm.ParseResponseEx( @@ -222,7 +222,7 @@ _urlparse=_rfc3986.urlsplit, _urlunparse=_rfc3986.urlunsplit, ) - except ClientForm.ParseError, exc: + except ClientForm.ParseError as exc: raise ParseError(exc) self.global_form = forms[0] return forms[1:] @@ -236,7 +236,7 @@ self._encoding = encoding def title(self): - import _pullparser + from . import _pullparser p = _pullparser.TolerantPullParser( self._response, encoding=self._encoding) try: @@ -246,7 +246,7 @@ return None else: return p.get_text() - except sgmllib.SGMLParseError, exc: + except sgmllib.SGMLParseError as exc: raise ParseError(exc) @@ -261,7 +261,7 @@ repl = entities.get(ent[1:-1]) if repl is not None: - repl = unichr(repl) + repl = chr(repl) if type(repl) != type(""): try: repl = repl.encode(encoding) @@ -277,7 +277,7 @@ name, base = data, 10 if name.startswith("x"): name, base= name[1:], 16 - uc = unichr(int(name, base)) + uc = chr(int(name, base)) if encoding is None: return uc else: @@ -289,8 +289,8 @@ # bizarre import gymnastics for bundled BeautifulSoup -import _beautifulsoup -import ClientForm +from . import _beautifulsoup +from . import ClientForm RobustFormParser, NestingRobustFormParser = ClientForm._create_bs_classes( _beautifulsoup.BeautifulSoup, _beautifulsoup.ICantBelieveItsBeautifulSoup ) @@ -299,12 +299,12 @@ sgmllib.charref = re.compile("&#(x?[0-9a-fA-F]+)[^0-9a-fA-F]") class MechanizeBs(_beautifulsoup.BeautifulSoup): - _entitydefs = htmlentitydefs.name2codepoint + _entitydefs = html.entities.name2codepoint # don't want the magic Microsoft-char workaround PARSER_MASSAGE = [(re.compile('(<[^<>]*)/>'), - lambda(x):x.group(1) + ' />'), + lambda x:x.group(1) + ' />'), (re.compile(']*)>'), - lambda(x):'') + lambda x:'') ] def __init__(self, encoding, text=None, avoidParserProblems=True, @@ -335,7 +335,7 @@ link_class=Link, urltags=None, ): - import _beautifulsoup + from . import _beautifulsoup if link_parser_class is None: link_parser_class = MechanizeBs self.link_parser_class = link_parser_class @@ -358,14 +358,14 @@ self._encoding = encoding def links(self): - import _beautifulsoup + from . import _beautifulsoup bs = self._bs base_url = self._base_url encoding = self._encoding gen = bs.recursiveChildGenerator() for ch in bs.recursiveChildGenerator(): if (isinstance(ch, _beautifulsoup.Tag) and - ch.name in self.urltags.keys()+["base"]): + ch.name in list(self.urltags.keys())+["base"]): link = ch attrs = bs.unescape_attrs(link.attrs) attrs_dict = dict(attrs) @@ -393,7 +393,7 @@ class RobustFormsFactory(FormsFactory): def __init__(self, *args, **kwds): - RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_headersutil.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_gzip.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_debug.py RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_clientcookie.py import ClientForm + from . import ClientForm args = form_parser_args(*args, **kwds) if args.form_parser_class is None: args.form_parser_class = RobustFormParser @@ -413,7 +413,7 @@ self._encoding = encoding def title(self): - import _beautifulsoup + from . import _beautifulsoup title = self._bs.first("title") if title == _beautifulsoup.Null: return None @@ -595,7 +595,7 @@ self._soup_class = soup_class def set_response(self, response): - import _beautifulsoup + from . import _beautifulsoup Factory.set_response(self, response) if response is not None: data = response.read() --- ./twill/other_packages/_mechanize_dist/_headersutil.py (original) +++ ./twill/other_packages/_mechanize_dist/_headersutil.py (refactored) @@ -14,8 +14,8 @@ from types import UnicodeType STRING_TYPES = StringType, UnicodeType -from _util import http2time -import _rfc3986 +from ._util import http2time +from . import _rfc3986 def is_html(ct_headers, url, allow_xhtml=False): """ --- ./twill/other_packages/_mechanize_dist/_gzip.py (original) +++ ./twill/other_packages/_mechanize_dist/_gzip.py (refactored) @@ -1,6 +1,6 @@ -import urllib2 -from cStringIO import StringIO -import _response +import urllib.request, urllib.error, urllib.parse +from io import StringIO +from . import _response # GzipConsumer was taken from Fredrik Lundh's effbot.org-0.1-20041009 library class GzipConsumer: @@ -85,7 +85,7 @@ # delegate unknown methods/attributes return getattr(self._response, name) -class HTTPGzipProcessor(urllib2.BaseHandler): +class HTTPGzipProcessor(urllib.request.BaseHandler): handler_order = 200 # response processing before HTTPEquivProcessor def http_request(self, request): --- ./twill/other_packages/_mechanize_dist/_debug.py (original) +++ ./twill/other_packages/_mechanize_dist/_debug.py (refactored) @@ -1,7 +1,7 @@ import logging -from urllib2 import BaseHandler -from _response import response_seek_wrapper +from urllib.request import BaseHandler +from ._response import response_seek_wrapper class HTTPResponseDebugProcessor(BaseHandler): --- ./twill/other_packages/_mechanize_dist/_clientcookie.py (original) +++ ./twill/other_packages/_mechanize_dist/_clientcookie.py (refactored) @@ -32,22 +32,22 @@ """ -import sys, re, copy, time, struct, urllib, types, logging +import sys, re, copy, time, struct, urllib.request, urllib.parse, urllib.error, types, logging try: import threading _threading = threading; del threading except ImportError: import dummy_threading _threading = dummy_threading; del dummy_threading -import httplib # only for the default HTTP port +import http.client # only for the default HTTP port MISSING_FILENAME_TEXT = ("a filename was not supplied (nor was the CookieJar " "instance initialised with one)") -DEFAULT_HTTP_PORT = str(httplib.HTTP_PORT) - -from _headersutil import split_header_words, parse_ns_headers -from _util import isstringlike -import _rfc3986 +DEFAULT_HTTP_PORT = str(http.client.HTTP_PORT) + +from ._headersutil import split_header_words, parse_ns_headers +from ._util import isstringlike +from . import _rfc3986 debug = logging.getLogger("mechanize.cookies").debug @@ -64,8 +64,8 @@ if issubclass(etype, unmasked): raise # swallowed an exception - import traceback, StringIO - f = StringIO.StringIO() + import traceback, io + f = io.StringIO() traceback.print_exc(None, f) msg = f.getvalue() warnings.warn("mechanize bug!\n%s" % msg, stacklevel=2) @@ -216,9 +216,9 @@ # And here, kind of: draft-fielding-uri-rfc2396bis-03 # (And in draft IRI specification: draft-duerst-iri-05) # (And here, for new URI schemes: RFC 2718) - if isinstance(path, types.UnicodeType): + if isinstance(path, str): path = path.encode("utf-8") - path = urllib.quote(path, HTTP_PATH_SAFE) + path = urllib.parse.RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_beautifulsoup.py quote(path, HTTP_PATH_SAFE) path = ESCAPED_CHAR_RE.sub(uppercase_escaped_char, path) return path @@ -359,13 +359,13 @@ self._rest = copy.copy(rest) def has_nonstandard_attr(self, name): - return self._rest.has_key(name) + return name in self._rest def get_nonstandard_attr(self, name, default=None): return self._rest.get(name, default) def set_nonstandard_attr(self, name, value): self._rest[name] = value def nonstandard_attr_keys(self): - return self._rest.keys() + return list(self._rest.keys()) def is_expired(self, now=None): if now is None: now = time.time() @@ -930,9 +930,9 @@ def vals_sorted_by_key(adict): - keys = adict.keys() + keys = list(adict.keys()) keys.sort() - return map(adict.get, keys) + return list(map(adict.get, keys)) class MappingIterator: """Iterates over nested mapping, depth-first, in sorted order by key.""" @@ -941,7 +941,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): # this is hairy because of lack of generators while 1: try: @@ -1027,11 +1027,11 @@ return [] debug("Checking %s for cookies to return", domain) cookies_by_path = self._cookies[domain] - for path in cookies_by_path.keys(): + for path in list(cookies_by_path.keys()): if not self._policy.path_return_ok(path, request): continue cookies_by_name = cookies_by_path[path] - for cookie in cookies_by_name.values(): + for cookie in list(cookies_by_name.values()): if not self._policy.return_ok(cookie, request): debug(" not returning cookie") continue @@ -1042,7 +1042,7 @@ def _cookies_for_request(self, request): """Return a list of cookies to be returned to server.""" cookies = [] - for domain in self._cookies.keys(): + for domain in list(self._cookies.keys()): cookies.extend(self._cookies_for_domain(domain, request)) return cookies @@ -1191,7 +1191,7 @@ # boolean cookie-attribute is present, but has no value # (like "discard", rather than "port=80") v = True - if standard.has_key(k): + if k in standard: # only first value is significant continue if k == "domain": @@ -1402,8 +1402,8 @@ def no_matching_rfc2965(ns_cookie, lookup=lookup): key = ns_cookie.domain, ns_cookie.path, ns_cookie.name - return not lookup.has_key(key) - ns_cookies = filter(no_matching_rfc2965, ns_cookies) + return key not in lookup + ns_cookies = list(filter(no_matching_rfc2965, ns_cookies)) if ns_cookies: cookies.extend(ns_cookies) @@ -1428,9 +1428,9 @@ cookie: mechanize.Cookie instance """ c = self._cookies - if not c.has_key(cookie.domain): c[cookie.domain] = {} + if cookie.domain not in c: c[cookie.domain] = {} c2 = c[cookie.domain] - if not c2.has_key(cookie.path): c2[cookie.path] = {} + if cookie.path not in c2: c2[cookie.path] = {} c3 = c2[cookie.path] c3[cookie.name] = cookie @@ -1529,7 +1529,7 @@ "CookieJar.__getitem__ only supports sequential iteration") self._prev_getitem_index = i try: - return self._getitem_iterator.next() + return next(self._getitem_iterator) except StopIteration: raise IndexError() --- ./twill/other_packages/_mechanize_dist/_beautifulsoup.py (original) +++ ./twill/other_packages/_mechanize_dist/_beautifulsoup.py (refactored) @@ -38,7 +38,7 @@ HTML document. Typically your subclass would just override SELF_CLOSING_TAGS and/or NESTABLE_TAGS. """ #" -from __future__ import generators + __author__ = "Leonard Richardson (leonardr@segfault.org)" __version__ = "2.1.1" @@ -175,7 +175,7 @@ g = generator() while True: try: - i = g.next() + i = next(g) except StopIteration: break found = None @@ -183,7 +183,7 @@ if not text: if not name or self._matches(i, name): match = True - for attr, matchAgainst in attrs.items(): + for attr, matchAgainst in list(attrs.items()): check = i.get(attr) if not self._matches(check, matchAgainst): match = False @@ -204,7 +204,7 @@ def nextGenerator(self): i = self while i: - i = i.next + i = i.__next__ yield i def nextSiblingGenerator(self): @@ -248,7 +248,7 @@ #ways of matching match the tag name as a string chunk = chunk.name #Now we know that chunk is a string - if not isinstance(chunk, basestring): + if not isinstance(chunk, str): chunk = str(chunk) if hasattr(howToMatch, 'match'): # It's a regexp object. @@ -256,7 +256,7 @@ if isList(howToMatch): return chunk in howToMatch if hasattr(howToMatch, 'items'): - return howToMatch.has_key(chunk) + return chunk in howToMatch #It's just a string return str(howToMatch) == chunk @@ -267,12 +267,12 @@ if attr == 'string': return self else: - raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr) + raise AttributeError("'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)) class NavigableString(str, NavigableText): pass -class NavigableUnicodeString(unicode, NavigableText): +class NavigableUnicodeString(str, NavigableText): pass class Tag(PageElement): @@ -311,7 +311,7 @@ def __contains__(self, x): return x in self.contents - def __nonzero__(self): + def __bool__(self): "A tag is non-None even if it has no contents." return True @@ -337,14 +337,14 @@ #We don't break because bad HTML can define the same #attribute multiple times. self._getAttrMap() - if self.attrMap.has_key(key): + if key in self.attrMap: del self.attrMap[key] def __call__(self, *args, **kwargs): """Calling a tag like a function is the same as calling its fetch() method. Eg. tag('a') returns a list of all the A tags found within this tag.""" - return apply(self.fetch, args, kwargs) + return self.fetch(*args, **kwargs) def __getattr__(self, tag): if len(tag) > 3 and tag.rfind('Tag') == len(tag)-3: @@ -418,9 +418,9 @@ s.append(space) s.append(closeTag) s = ''.join(s) - isUnicode = type(s) == types.UnicodeType + isUnicode = type(s) == str if needUnicode and not isUnicode: - s = unicode(s) + s = str(s) elif isUnicode and needUnicode==False: s = str(s) return s @@ -434,12 +434,12 @@ s=[] for c in self: text = None - if isinstance(c, NavigableUnicodeString) or type(c) == types.UnicodeType: - text = unicode(c) + if isinstance(c, NavigableUnicodeString) or type(c) == str: + text = str(c) elif isinstance(c, Tag): s.append(c.__str__(needUnicode, showStructureIndent)) elif needUnicode: - text = unicode(c) + text = str(c) else: text = str(c) if text: @@ -543,7 +543,7 @@ """Convenience method that works with aRefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/_auth.py ll 2.x versions of Python to determine whether or not something is listlike.""" return hasattr(l, '__iter__') \ - or (type(l) in (types.ListType, types.TupleType)) + or (type(l) in (list, tuple)) def buildTagMap(default, *args): """Turns a list of maps, lists, or scalars into a single map. @@ -553,7 +553,7 @@ for portion in args: if hasattr(portion, 'items'): #It's a map. Merge it. - for k,v in portion.items(): + for k,v in list(portion.items()): built[k] = v elif isList(portion): #It's a list. Map each item to the default. @@ -623,11 +623,11 @@ '\x9f' : 'Ÿ',} PARSER_MASSAGE = [(re.compile('(<[^<>]*)/>'), - lambda(x):x.group(1) + ' />'), + lambda x:x.group(1) + ' />'), (re.compile(']*)>'), - lambda(x):''), + lambda x:''), (re.compile("([\x80-\x9f])"), - lambda(x): BeautifulStoneSoup.MS_CHARS.get(x.group(1))) + lambda x: BeautifulStoneSoup.MS_CHARS.get(x.group(1))) ] ROOT_TAG_NAME = '[document]' @@ -736,7 +736,7 @@ else: currentData = ' ' c = NavigableString - if type(currentData) == types.UnicodeType: + if type(currentData) == str: c = NavigableUnicodeString o = c(currentData) o.setup(self.currentTag, self.previous) @@ -788,7 +788,7 @@ nestingResetTriggers = self.NESTABLE_TAGS.get(name) isNestable = nestingResetTriggers != None - isResetNesting = self.RESET_NESTING_TAGS.has_key(name) + isResetNesting = name in self.RESET_NESTING_TAGS popTo = None inclusive = True for i in range(len(self.tagStack)-1, 0, -1): @@ -801,7 +801,7 @@ if (nestingResetTriggers != None and p.name in nestingResetTriggers) \ or (nestingResetTriggers == None and isResetNesting - and self.RESET_NESTING_TAGS.has_key(p.name)): + and p.name in self.RESET_NESTING_TAGS): #If we encounter one of the nesting reset triggers #peculiar to this tag, or we encounter another tag @@ -820,7 +820,7 @@ if self.quoteStack: #This is not a real tag. #print "<%s> is not real!" % name - attrs = ''.join(map(lambda(x, y): ' %s="%s"' % (x, y), attrs)) + attrs = ''.join([' %s="%s"' % (x_y[0], x_y[1]) for x_y in attrs]) self.handle_data('<%s%s>' % (name, attrs)) return self.endData() @@ -1049,7 +1049,7 @@ parent._getAttrMap() if (isinstance(tag, Tag) and len(tag.contents) == 1 and isinstance(tag.contents[0], NavigableText) and - not parent.attrMap.has_key(tag.name)): + tag.name not in parent.attrMap): parent[tag.name] = tag.contents[0] BeautifulStoneSoup.popTag(self) @@ -1077,4 +1077,4 @@ if __name__ == '__main__': import sys soup = BeautifulStoneSoup(sys.stdin.read()) - print soup.prettify() + print(soup.prettify()) --- ./twill/other_packages/_mechanize_dist/_auth.py (original) +++ ./twill/other_packages/_mechanize_dist/_auth.py (refactored) @@ -11,16 +11,15 @@ """ -import re, base64, urlparse, posixpath, sys, copy +import re, base64, urllib.parse, posixpath, sys, copy import hashlib try: import md5 except ImportError: pass -from urllib2 import BaseHandler -from urllib import getproxies, unquote, splittype, splituser, splitpasswd, \ - splitport +from urllib.request import BaseHandler +from urllib.parse import unquote, splittype, splituser, splitpasswd, splitport def _parse_proxy(proxy): @@ -104,7 +103,7 @@ proxies = RefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/__init__.py getproxies() assert hasattr(proxies, 'has_key'), "proxies must be a mapping" self.proxies = proxies - for type, url in proxies.items(): + for type, url in list(proxies.items()): setattr(self, '%s_open' % type, lambda r, proxy=url, type=type, meth=self.proxy_open: \ meth(r, proxy, type)) @@ -139,7 +138,7 @@ def add_password(self, realm, uri, user, passwd): # uri could be a single URI or a sequence - if isinstance(uri, basestring): + if isinstance(uri, str): uri = [uri] if not realm in self.passwd: self.passwd[realm] = {} @@ -152,7 +151,7 @@ domains = self.passwd.get(realm, {}) for default_port in True, False: reduced_authuri = self.reduce_uri(authuri, default_port) - for uris, authinfo in domains.iteritems(): + for uris, authinfo in domains.items(): for uri in uris: if self.is_suburi(uri, reduced_authuri): return authinfo @@ -161,7 +160,7 @@ def reduce_uri(self, uri, default_port=True): """Accept authority or URI and extract only the authority and path.""" # note HTTP URLs do not have a userinfo component - parts = urlparse.urlsplit(uri) + parts = urllib.parse.urlsplit(uri) if parts[1]: # URI scheme = parts[0] @@ -439,7 +438,7 @@ handler_order = 490 def http_error_401(self, req, fp, code, msg, headers): - host = urlparse.urlparse(req.get_full_url())[1] + host = urllib.parse.urlparse(req.get_full_url())[1] retry = self.http_error_auth_reqed('www-authenticate', host, req, headers) self.reset_retry_count() @@ -464,7 +463,7 @@ # has default realm and host/port def add_password(self, realm, uri, user, passwd): # uri could be a single URI or a sequence - if uri is None or isinstance(uri, basestring): + if uri is None or isinstance(uri, str): uris = [uri] else: uris = uri @@ -483,7 +482,7 @@ authinfo_by_domain = self.passwd.get(realm, {}) for default_port in True, False: reduced_authuri = self.reduce_uri(authuri, default_port) - for uri, authinfo in authinfo_by_domain.iteritems(): + for uri, authinfo in authinfo_by_domain.items(): if uri is None and not default_uri: continue if self.is_suburi(uri, reduced_authuri): --- ./twill/other_packages/_mechanize_dist/__init__.py (original) +++ ./twill/other_packages/_mechanize_dist/__init__.py (refactored) @@ -80,16 +80,16 @@ 'urlopen', 'urlretrieve'] -from _mechanize import __version__ +from ._mechanize import __version__ # high-level stateful browser-style interface -from _mechanize import \ +from ._mechanize import \ Browser, History, \ BrowserStateError, LinkNotFoundError, FormNotFoundError # configurable URL-opener interface -from _useragent import UserAgentBase, UserAgent -from _html import \ +from ._useragent import UserAgentBase, UserAgent +from ._html import \ ParseError, \ Link, \ Factory, DefaultFactory, RobustFactory, \ @@ -98,25 +98,25 @@ # urllib2 work-alike interface (part from mechanize, part from urllib2) # This is a superset of the urllib2 interface. -from _urllib2 import * +from ._urllib2 import * # misc -from _opener import ContentTooShortError, OpenerFactory, urlretrieve -from _util import http2time as str2time -from _response import \ +from ._opener import ContentTooShortError, OpenerFactory, urlretrieve +from ._util import http2time as str2time +from ._response import \ response_seek_wrapper, seek_wrapped_response, make_response -from _http import HeadParser +from ._http import HeadParser try: - from _http import XHTMLCompatibleHeadParser + froRefactoringTool: Refactored ./twill/other_packages/_mechanize_dist/ClientForm.py m ._http import XHTMLCompatibleHeadParser except ImportError: pass # cookies -from _clientcookie import Cookie, CookiePolicy, DefaultCookiePolicy, \ +from ._clientcookie import Cookie, CookiePolicy, DefaultCookiePolicy, \ CookieJar, FileCookieJar, LoadError, request_host -from _lwpcookiejar import LWPCookieJar, lwp_cookie_str -from _mozillacookiejar import MozillaCookieJar -from _msiecookiejar import MSIECookieJar +from ._lwpcookiejar import LWPCookieJar, lwp_cookie_str +from ._mozillacookiejar import MozillaCookieJar +from ._msiecookiejar import MSIECookieJar # If you hate the idea of turning bugs into warnings, do: # import mechanize; mechanize.USE_BARE_EXCEPT = False --- ./twill/other_packages/_mechanize_dist/ClientForm.py (original) +++ ./twill/other_packages/_mechanize_dist/ClientForm.py (refactored) @@ -99,9 +99,9 @@ handler.setLevel(logging.DEBUG) _logger.addHandler(handler) -import sys, urllib, urllib2, types, copy, urlparse, \ - htmlentitydefs, re, random -from cStringIO import StringIO +import sys, urllib.request, urllib.parse, urllib.error, urllib.request, urllib.error, urllib.parse, types, copy, urllib.parse, \ + html.entities, re, random +from io import StringIO import sgmllib # monkeypatch to fix http://www.python.org/sf/803422 :-( @@ -110,7 +110,7 @@ # HTMLParser.HTMLParser is recent, so live without it if it's not available # (also, sgmllib.SGMLParser is much more tolerant of bad HTML) try: - import HTMLParser + import html.parser except ImportError: HAVE_MODULE_HTMLPARSER = False else: @@ -157,7 +157,7 @@ if hasattr(query,"items"): # mapping objects - query = query.items() + query = list(query.items()) else: # it's a bother at times that strings and string-like objects are # sequences... @@ -165,7 +165,7 @@ # non-sequence items should not work with len() x = len(query) # non-empty strings will fail this - if len(query) and type(query[0]) != types.TupleType: + if len(query) and type(query[0]) != tuple: raise TypeError() # zero-length sequences of all types will get here and succeed, # but that's a minor nit - since the original implementation @@ -180,20 +180,20 @@ if not doseq: # preserve old behavior for k, v in query: - k = urllib.quote_plus(str(k)) - v = urllib.quote_plus(str(v)) + k = urllib.parse.quote_plus(str(k)) + v = urllib.parse.quote_plus(str(v)) l.append(k + '=' + v) else: for k, v in query: - k = urllib.quote_plus(str(k)) - if type(v) == types.StringType: - v = urllib.quote_plus(v) + k = urllib.parse.quote_plus(str(k)) + if type(v) == bytes: + v = urllib.parse.quote_plus(v) l.append(k + '=' + v) - elif type(v) == types.UnicodeType: + elif type(v) == str: # is there a reasonable way to convert to ASCII? # encode generates a string, but "replace" or "ignore" # lose information and "strict" can raise UnicodeError - v = urllib.quote_plus(v.encode("ASCII","replace")) + v = urllib.parse.quote_plus(v.encode("ASCII","replace")) l.append(k + '=' + v) else: try: @@ -201,12 +201,12 @@ x = len(v) except TypeError: # not a sequence - v = urllib.quote_plus(str(v)) + v = urllib.parse.quote_plus(str(v)) l.append(k + '=' + v) else: # loop over the sequence for elt in v: - l.append(k + '=' + urllib.quote_plus(str(elt))) + l.append(k + '=' + urllib.parse.quote_plus(str(elt))) return '&'.join(l) def unescape(data, entities, encoding=DEFAULT_ENCODING): @@ -236,7 +236,7 @@ name, base = data, 10 if name.startswith("x"): name, base= name[1:], 16 - uc = unichr(int(name, base)) + uc = chr(int(name, base)) if encoding is None: return uc else: @@ -247,21 +247,21 @@ return repl def get_entitydefs(): - import htmlentitydefs + import html.entities from codecs import latin_1_decode entitydefs = {} try: - htmlentitydefs.name2codepoint + html.entities.name2codepoint except AttributeError: entitydefs = {} - for name, char in htmlentitydefs.entitydefs.items(): + for name, char in list(html.entities.entitydefs.items()): uc = latin_1_decode(char)[0] if uc.startswith("&#") and uc.endswith(";"): uc = unescape_charref(uc[2:-1], None) entitydefs["&%s;" % name] = uc else: - for name, codepoint in htmlentitydefs.name2codepoint.items(): - entitydefs["&%s;" % name] = unichr(codepoint) + for name, codepoint in list(html.entities.name2codepoint.items()): + entitydefs["&%s;" % name] = chr(codepoint) return entitydefs @@ -283,7 +283,7 @@ def choose_boundary(): """Return a string usable as a multipart boundary.""" # follow IE and firefox - nonce = "".join([str(random.randint(0, sys.maxint-1)) for i in 0,1,2]) + nonce = "".join([str(random.randint(0, sys.maxsize-1)) for i in (0,1,2)]) return "-"*27 + nonce # This cut-n-pasted MimeWriter from standard library is here so can add @@ -444,7 +444,7 @@ if HAVE_MODULE_HTMLPARSER: SGMLLIB_PARSEERROR = sgmllib.SGMLParseError class ParseError(sgmllib.SGMLParseError, - HTMLParser.HTMLParseError, + html.parser.HTMLParseError, ): pass else: @@ -584,8 +584,8 @@ self._option = {} self._option.update(d) - if (self._optgroup and self._optgroup.has_key("disabled") and - not self._option.has_key("disabled")): + if (self._optgroup and "disabled" in self._optgroup and + "disabled" not in self._option): self._option["disabled"] = None def _end_option(self): @@ -595,9 +595,9 @@ contents = self._option.get("contents", "").strip() self._option["contents"] = contents - if not self._option.has_key("value"): + if "value" not in self._option: self._option["value"] = contents - if not self._option.has_key("label"): + if "label" not in self._option: self._option["label"] = contents # stuff dict of SELECT HTML attrs into a special private key # (gets deleted again later) @@ -699,7 +699,7 @@ else: return - if not map.has_key(key): + if key not in map: map[key] = data else: map[key] = map[key] + data @@ -762,7 +762,7 @@ def unescape_attrs(self, attrs): #debug("%s", attrs) escaped_attrs = {} - for key, val in attrs.items(): + for key, val in list(attrs.items()): try: val.items except AttributeError: @@ -781,17 +781,17 @@ def __init__(self, entitydefs=None, encoding=DEFAULT_ENCODING): raise ValueError("HTMLParser could not be imported") else: - class XHTMLCompatibleFormParser(_AbstractFormParser, HTMLParser.HTMLParser): + class XHTMLCompatibleFormParser(_AbstractFormParser, html.parser.HTMLParser): """Good for XHTML, bad for tolerance of incorrect HTML.""" # thanks to Michael Howitz for this! def __init__(self, entitydefs=None, encoding=DEFAULT_ENCODING): - HTMLParser.HTMLParser.__init__(self) + html.parser.HTMLParser.__init__(self) _AbstractFormParser.__init__(self, entitydefs, encoding) def feed(self, data): try: - HTMLParser.HTMLParser.feed(self, data) - except HTMLParser.HTMLParseError, exc: + html.parser.HTMLParser.feed(self, data) + except html.parser.HTMLParseError as exc: raise ParseError(exc) def start_option(self, attrs): @@ -865,7 +865,7 @@ def feed(self, data): try: sgmllib.SGMLParser.feed(self, data) - except SGMLLIB_PARSEERROR, exc: + except SGMLLIB_PARSEERROR as exc: raise ParseError(exc) @@ -888,7 +888,7 @@ def feed(self, data): try: self.bs_base_class.feed(self, data) - except SGMLLIB_PARSEERROR, exc: + except SGMLLIB_PARSEERROR as exc: raise ParseError(exc) @@ -927,14 +927,14 @@ def ParseResponseEx(response, select_default=False, form_parser_class=FormParser, - request_class=urllib2.Request, + request_class=urllib.request.Request, entitydefs=None, encoding=DEFAULT_ENCODING, # private - _urljoin=urlparse.urljoin, - _urlparse=urlparse.urlparse, - _urlunparse=urlparse.urlunparse, + _urljoin=urllib.parse.urljoin, + _urlparse=urllib.parse.urlparse, + _urlunparse=urllib.parse.urlunparse, ): """Identical to ParseResponse, except that: @@ -961,14 +961,14 @@ def ParseFileEx(file, base_uri, select_default=False, form_parser_class=FormParser, - request_class=urllib2.Request, + request_class=urllib.request.Request, entitydefs=None, encoding=DEFAULT_ENCODING, # private - _urljoin=urlparse.urljoin, - _urlparse=urlparse.urlparse, - _urlunparse=urlparse.urlunparse, + _urljoin=urllib.parse.urljoin, + _urlparse=urllib.parse.urlparse, + _urlunparse=urllib.parse.urlunparse, ): """Identical to ParseFile, except that: @@ -1074,13 +1074,13 @@ select_default=False, ignore_errors=False, form_parser_class=FormParser, - request_class=urllib2.Request, + request_class=urllib.request.Request, entitydefs=None, backwards_compat=True, encoding=DEFAULT_ENCODING, - _urljoin=urlparse.urljoin, - _urlparse=urlparse.urlparse, - _urlunparse=urlparse.urlunparse, + _urljoin=urllib.parse.urljoin, + _urlparse=urllib.parse.urlparse, + _urlunparse=urllib.parse.urlunparse, ): if backwards_compat: deprecation("operating in backwards-compatibility mode") @@ -1092,7 +1092,7 @@ data = file.read(CHUNK) try: fp.feed(data) - except ParseError, e: + except ParseError as e: e.base_uri = base_uri raise if len(data) != CHUNK: break @@ -1310,16 +1310,16 @@ self.__dict__["type"] = type.lower() self.__dict__["name"] = name self._value = attrs.get("value") - self.disabled = attrs.has_key("disabled") - self.readonly = attrs.has_key("readonly") + self.disabled = "disabled" in attrs + self.readonly = "readonly" in attrs self.id = attrs.get("id") self.attrs = attrs.copy() self._clicked = False - self._urlparse = urlparse.urlparse - self._urlunparse = urlparse.urlunparse + self._urlparse = urllib.parse.urlparse + self._urlunparse = urllib.parse.urlunparse def __getattr__(self, name): if name == "value": @@ -1523,7 +1523,7 @@ def _totally_ordered_pairs(self): return [] - def _click(self, form, coord, return_type, request_class=urllib2.Request): + def _click(self, form, coord, return_type, request_class=urllib.request.Request): # Relative URL for ISINDEX submission: instead of "foo=bar+baz", # want "bar+baz". # This doesn't seem to be specified in HTML 4.01 spec. (ISINDEX is @@ -1531,7 +1531,7 @@ # Submission of ISINDEX is explained in the HTML 3.2 spec, though. parts = self._urlparse(form.action) rest, (query, frag) = parts[:-2], parts[-2:] - parts = rest + (urllib.quote_plus(self.value), None) + parts = rest + (urllib.parse.quote_plus(self.value), None) url = self._urlunparse(parts) req_data = url, None, [] @@ -1603,7 +1603,7 @@ "_labels": label and [label] or [], "attrs": attrs, "_control": control, - "disabled": attrs.has_key("disabled"), + "disabled": "disabled" in attrs, "_selected": False, "id": attrs.get("id"), "_index": index, @@ -1655,7 +1655,7 @@ return res def __repr__(self): - attrs = [("name", self.name), ("id", self.id)]+self.attrs.items() + attrs = [("name", self.name), ("id", self.id)]+list(self.attrs.items()) return "<%s %s>" % ( self.__class__.__name__, " ".join(["%s=%r" % (k, v) for k, v in attrs]) @@ -1663,7 +1663,7 @@ def disambiguate(items, nr, **kwds): msgs = [] - for key, value in kwds.items(): + for key, value in list(kwds.items()): msgs.append("%s=%r" % (key, value)) msg = " ".join(msgs) if not items: @@ -2125,11 +2125,11 @@ item.selected and (not item.disabled or compat)] names = {} for nn in value: - if nn in names.keys(): + if nn in list(names.keys()): names[nn] += 1 else: names[nn] = 1 - for name, count in names.items(): + for name, count in list(names.items()): on, off = self._get_items(name, count) for i in range(count): if on: @@ -2261,7 +2261,7 @@ called_as_base_class=True, index=index) self.__dict__["multiple"] = False o = Item(self, attrs, index) - o.__dict__["_selected"] = attrs.has_key("checked") + o.__dict__["_selected"] = "checked" in attrs def fixup(self): ListControl.fixup(self) @@ -2294,7 +2294,7 @@ called_as_base_class=True, index=index) self.__dict__["multiple"] = True o = Item(self, attrs, index) - o.__dict__["_selected"] = attrs.has_key("checked") + o.__dict__["_selected"] = "checked" in attrs def get_labels(self): return [] @@ -2362,7 +2362,7 @@ self.attrs = attrs["__select"].copy() self.__dict__["_label"] = _get_label(self.attrs) self.__dict__["id"] = self.attrs.get("id") - self.__dict__["multiple"] = self.attrs.has_key("multiple") + self.__dict__["multiple"] = "multiple" in self.attrs # the majority of the contents, label, and value dance already happened contents = attrs.get("contents") attrs = attrs.copy() @@ -2370,12 +2370,12 @@ ListControl.__init__(self, type, name, self.attrs, select_default, called_as_base_class=True, index=index) - self.disabled = self.attrs.has_key("disabled") - self.readonly = self.attrs.has_key("readonly") - if attrs.has_key("value"): + self.disabled = "disabled" in self.attrs + self.readonly = "readonly" in self.attrs + if "value" in attrs: # otherwise it is a marker 'select started' token o = Item(self, attrs, index) - o.__dict__["_selected"] = attrs.has_key("selected") + o.__dict__["_selected"] = "selected" in attrs # add 'label' label and contents label, if different. If both are # provided, the 'label' label is used for display in HTML # 4.0-compliant browsers (aRefactoringTool: Refactored ./twill/namespaces.py RefactoringTool: No changes to ./twill/extensions/test_extensions.py RefactoringTool: Refactored ./twill/extensions/require.py nd any lower spec? not sure) while the @@ -2440,7 +2440,7 @@ def is_of_kind(self, kind): return kind == "clickable" - def _click(self, form, coord, return_type, request_class=urllib2.Request): + def _click(self, form, coord, return_type, request_class=urllib.request.Request): self._clicked = coord r = form._switch_click(return_type, request_class) self._clicked = False @@ -2736,7 +2736,7 @@ def __init__(self, action, method="GET", enctype="application/x-www-form-urlencoded", name=None, attrs=None, - request_class=urllib2.Request, + request_class=urllib.request.Request, forms=None, labels=None, id_to_labels=None, backwards_compat=True): """ @@ -2768,8 +2768,8 @@ self.backwards_compat = backwards_compat # note __setattr__ - self._urlunparse = urlparse.urlunparse - self._urlparse = urlparse.urlparse + self._urlunparse = urllib.parse.urlunparse + self._urlparse = urllib.parse.urlparse def __getattr__(self, name): if name == "backwards_compat": @@ -2867,7 +2867,7 @@ control = self.find_control(name) try: control.value = value - except AttributeError, e: + except AttributeError as e: raise ValueError(str(e)) def get_value(self, @@ -3059,7 +3059,7 @@ # Form submission methods, applying only to clickable controls. def click(self, name=None, type=None, id=None, nr=0, coord=(1,1), - request_class=urllib2.Request, + request_class=urllib.request.Request, label=None): """Return request that would result from clicking on a control. @@ -3088,7 +3088,7 @@ def click_request_data(self, name=None, type=None, id=None, nr=0, coord=(1,1), - request_class=urllib2.Request, + request_class=urllib.request.Request, label=None): """As for click method, but return a tuple (url, data, headers). @@ -3279,7 +3279,7 @@ assert False def _click(self, name, type, id, label, nr, coord, return_type, - request_class=urllib2.Request): + request_class=urllib.request.Request): try: control = self._find_control( name, type, "clickable", id, label, None, nr) @@ -3351,7 +3351,7 @@ else: raise ValueError("Unknown method '%s'" % method) - def _switch_click(self, return_type, request_class=urllib2.Request): + def _switch_click(self, return_type, request_class=urllib.request.Request): # This is called by HTMLForm and clickable Controls to hide switching # on return_type. if return_type == "pairs": --- ./twill/namespaces.py (original) +++ ./twill/namespaces.py (refactored) @@ -11,7 +11,7 @@ This must be done after all the other modules are loaded, so that all of the commands are already defined. """ - exec "from twill.commands import *" in global_dict + exec("from twill.commands import *", global_dict) import twill.commands command_list = twill.commands.__all__ --- ./twill/extensions/require.py (original) +++ ./twill/extensions/require.py (refactored) @@ -54,7 +54,7 @@ if what == 'success': if DEBUG: - print>>OUT, 'REQUIRING success' + print('REQUIRING success', file=OUT) commands.code(200) #### @@ -62,13 +62,13 @@ #### elif what == 'links_ok': - from check_links import check_links + from .check_links import check_links ignore_always = True if DEBUG: - print>>OUT, 'REQUIRING functioning links' - print>>OUT, '(already visited:)' - print "\n\t".join(links_visited.keys()) + RefactoringTool: Refactored ./twill/extensions/match_parse/__init__.py RefactoringTool: Refactored ./twill/extensions/mailman_sf.py RefactoringTool: Refactored ./twill/extensions/formfill.py print('REQUIRING functioning links', file=OUT) + print('(already visited:)', file=OUT) + print("\n\t".join(list(links_visited.keys()))) try: check_links(visited=links_visited) @@ -109,7 +109,7 @@ if _require_post_load_hook not in commands.browser._post_load_hooks: if DEBUG: - print>>commands.OUT, 'INSTALLING POST-LOAD HOOK' + print('INSTALLING POST-LOAD HOOK', file=commands.OUT) commands.browser._post_load_hooks.append(_require_post_load_hook) # @@ -118,7 +118,7 @@ if what not in _requirements: if DEBUG: - print>>commands.OUT, 'Adding requirement', what + print('Adding requirement', what, file=commands.OUT) _requirements.append(what) def no_require(): --- ./twill/extensions/match_parse/__init__.py (original) +++ ./twill/extensions/match_parse/__init__.py (refactored) @@ -17,7 +17,7 @@ d = global_dict.copy() d.update(local_dict) - print d.get(str(which)) + print(d.get(str(which))) def split(what): """ --- ./twill/extensions/mailman_sf.py (original) +++ ./twill/extensions/mailman_sf.py (refactored) @@ -24,7 +24,7 @@ state = twill.get_browser() form = state.get_form("1") if not form: - print "No messages; exiting." + print("No messages; exiting.") raise SystemExit def discard_all_messages(): @@ -42,7 +42,7 @@ form = state.get_form(formname) if not form: - print 'no such form', formname + print('no such form', formname) return regexp = re.compile(fieldname) @@ -50,7 +50,7 @@ matches = [ ctl for ctl in form.controls if regexp.search(str(ctl.name)) ] if matches: - print '-- matches %d' % (len(matches),) + print('-- matches %d' % (len(matches),)) n = 0 for control in matches: @@ -61,4 +61,4 @@ n += 1 twill.utils.set_form_control_value(control, value) - print 'set %d values total' % (n,) + print('set %d values total' % (n,)) --- ./twill/extensions/formfill.py (original) +++ ./twill/extensions/formfill.py (refactored) @@ -37,7 +37,7 @@ form = state.get_form(formname) if form is None: - print 'no such form', formname + print('no such form', formname) return regexp = re.compile(regexp) @@ -45,18 +45,18 @@ matches = [ ctl for ctl in form.inputs if regexp.search(str(ctl.get("name"))) ] if matches: - print '-- matches %d' % (len(matches),) + print('-- matches %d' % (len(matches),)) n = 0 for control in matches: state.clicked(form, control) - if 'readonly' in control.attrib.keys(): + if 'readonly' in list(control.attrib.keys()): continue n += 1 twill.utils.set_form_control_value(control, value) - print 'set %d values total' % (n,) + print('set %d values total' % (n,)) def fv_multi_match(formname, regexp, *values): """ @@ -70,7 +70,7 @@ form = state.get_form(formname) if form is None: - print 'no such form', formname + print('no such form', formname) return regexp = re.compile(regexp) @@ -78,20 +78,20 @@ matches = [ ctl for ctl in form.inputs if regexp.search(str(ctl.get("name"))) ] if matches: - print '-- matches %d, values %d' % (len(matches), len(values)) + print('-- matches %d, values %d' % (len(matches), len(values))) n = 0 for control in matches: state.clicked(form, control) - if 'readonly' in control.attrib.keys(): + if 'readonly' in list(control.attrib.keys()): continue try: twill.utils.set_form_control_value(control, values[n]) - except IndexError, e: + except IndexError as e: twill.utils.set_form_control_value(control, values[-1RefactoringTool: No changes to ./twill/extensions/dns_check.py RefactoringTool: Refactored ./twill/extensions/dirstack.py RefactoringTool: Refactored ./twill/extensions/csv_iterate.py RefactoringTool: Refactored ./twill/extensions/check_links.py ]) n += 1 - print 'set %d values total' % (n,) + print('set %d values total' % (n,)) def fv_multi(formname, *pairs): --- ./twill/extensions/dirstack.py (original) +++ ./twill/extensions/dirstack.py (refactored) @@ -21,10 +21,10 @@ cwd = os.getcwd() _dirstack.append(cwd) - print cwd + print(cwd) os.chdir(where) - print>>commands.OUT, 'changed directory to "%s"' % (where,) + print('changed directory to "%s"' % (where,), file=commands.OUT) commands.setglobal('__dir__', where) @@ -39,6 +39,6 @@ where = _dirstack.pop() os.chdir(where) - print>>commands.OUT, 'popped back to directory "%s"' % (where,) + print('popped back to directory "%s"' % (where,), file=commands.OUT) commands.setglobal('__dir__', where) --- ./twill/extensions/csv_iterate.py (original) +++ ./twill/extensions/csv_iterate.py (refactored) @@ -26,7 +26,7 @@ reader = csv.reader(open(filename, "rb")) for i, row in enumerate(reader): if DEBUG: - print>>commands.OUT,'csv_iterate: on row %d of %s' % (i, filename,) + print('csv_iterate: on row %d of %s' % (i, filename,), file=commands.OUT) for i, col in enumerate(row): global_dict["col%d" % (i + 1,)] = col --- ./twill/extensions/check_links.py (original) +++ ./twill/extensions/check_links.py (refactored) @@ -52,7 +52,7 @@ from twill import commands if DEBUG: - print 'in check_links' + print('in check_links') OUT = commands.OUT browser = commands.browser @@ -77,7 +77,7 @@ links = list(browser._browser.links()) if not links: if DEBUG: - print>>OUT, "no links to check!?" + print("no links to check!?", file=OUT) return for link in links: @@ -86,20 +86,20 @@ if not (url.startswith('http://') or url.startswith('https://')): if DEBUG: - print>>OUT, "url '%s' is not an HTTP link; ignoring" % (url,) + print("url '%s' is not an HTTP link; ignoring" % (url,), file=OUT) continue if regexp: if regexp.search(url): collected_urls[url] = link if DEBUG: - print>>OUT, "Gathered URL %s -- matched regexp" % (url,) + print("Gathered URL %s -- matched regexp" % (url,), file=OUT) elif DEBUG: - print>>OUT, "URL %s doesn't match regexp" % (url,) + print("URL %s doesn't match regexp" % (url,), file=OUT) else: collected_urls[url] = link if DEBUG: - print>>OUT, "Gathered URL %s." % (url,) + print("Gathered URL %s." % (url,), file=OUT) # # now, for each unique URL, follow the link. Trap ALL exceptions @@ -107,13 +107,13 @@ # failed = [] - for link in collected_urls.values(): + for link in list(collected_urls.values()): went = False try: if DEBUG: - print>>OUT, "Trying %s" % (link.absolute_url,), + print("Trying %s" % (link.absolute_url,), end=' ', file=OUT) - if not visited.has_key(link.absolute_url): + if link.absolute_url not in visited: went = True browser.follow_link(link) @@ -123,14 +123,14 @@ visited[link.absolute_url] = 1 if DEBUG: - print>>OUT, '...success!' + print('...success!', file=OUT) else: if DEBUG: - print>>OUT, ' (already visited successfully)' + print(' (already visited successfully)', file=OUT) except: failed.append(link.absolute_url) if DEBUG: - print>>OUT, '...failure ;(' + print('...failure ;(', file=OUT) if went: browser.back() @@ -139,12 +139,12 @@ if comRefactoringTool: Refactored ./twill/extensions/argparse.py RefactoringTool: No changes to ./twill/errors.py RefactoringTool: Refactored ./twill/commands.py mands._options['check_links.only_collect_bad_links']: for l in failed: refering_pages = bad_links_dict.get(l, []) - print '***', browser.get_url() + print('***', browser.get_url()) refering_pages.append(browser.get_url()) bad_links_dict[l] = refering_pages else: - print>>OUT, '\nCould not follow %d links' % (len(failed),) - print>>OUT, '\t%s\n' % '\n\t'.join(failed) + print('\nCould not follow %d links' % (len(failed),), file=OUT) + print('\t%s\n' % '\n\t'.join(failed), file=OUT) raise TwillAssertionError("broken links on page") def report_bad_links(fail_if_exist='+', flush_bad_links='+'): @@ -171,13 +171,13 @@ OUT = commands.OUT if not bad_links_dict: - print>>OUT, '\nNo bad links to report.\n' + print('\nNo bad links to report.\n', file=OUT) else: - print>>OUT, '\nCould not follow %d links' % (len(bad_links_dict),) - for page, referers in bad_links_dict.items(): + print('\nCould not follow %d links' % (len(bad_links_dict),), file=OUT) + for page, referers in list(bad_links_dict.items()): err_msg = "\t link '%s' (occurs on: " % (page,)\ + ",".join(referers) + ')' - print>>OUT, err_msg + print(err_msg, file=OUT) if flush_bad_links: bad_links_dict = {} --- ./twill/extensions/argparse.py (original) +++ ./twill/extensions/argparse.py (refactored) @@ -32,7 +32,7 @@ for i, arg in enumerate(shell.twillargs): global_dict["arg%d" % (i + 1,)] = arg - print>>commands.OUT, "get_args: loaded %d args as $arg1..$arg%d." % \ - (i + 1, i + 1) + print("get_args: loaded %d args as $arg1..$arg%d." % \ + (i + 1, i + 1), file=commands.OUT) else: - print>>commands.OUT, "no arguments to parse!" + print("no arguments to parse!", file=commands.OUT) --- ./twill/commands.py (original) +++ ./twill/commands.py (refactored) @@ -65,12 +65,12 @@ import re, getpass, time -from browser import TwillBrowser - -from errors import TwillException, TwillAssertionError -import utils -from utils import set_form_control_value, run_tidy -from namespaces import get_twill_glocals +from .browser import TwillBrowser + +from .errors import TwillException, TwillAssertionError +from . import utils +from .utils import set_form_control_value, run_tidy +from .namespaces import get_twill_glocals browser = TwillBrowser() @@ -270,7 +270,7 @@ Show the HTML for the current page. """ html = browser.get_html() - print>>OUT, html + print(html, file=OUT) return html def echo(*strs): @@ -279,9 +279,9 @@ Echo the arguments to the screen. """ - strs = map(str, strs) + strs = list(map(str, strs)) s = " ".join(strs) - print>>OUT, s + print(s, file=OUT) def save_html(filename=None): """ @@ -292,7 +292,7 @@ """ html = browser.get_html() if html is None: - print>>OUT, "No page to save." + print("No page to save.", file=OUT) return if filename is None: @@ -302,7 +302,7 @@ if filename is "": filename = 'index.html' - print>>OUT, "(Using filename '%s')" % (filename,) + print("(Using filename '%s')" % (filename,), file=OUT) f = open(filename, 'w') f.write(html) @@ -393,7 +393,7 @@ """ form = browser.get_form(formname) for control in form.inputs: - if "readonly" in control.attrib.keys() or \ + if "readonly" in list(control.attrib.keys()) or \ (hasattr(control, 'type') and (control.type == 'submit' or \ control.type == 'image' or control.type == 'hidden')): continue @@ -440,14 +440,14 @@ if isinstance(control, html.CheckboxGroup): pass - elif 'readonly' in control.attrib.keys() and \ + elif 'readonly' in list(control.attrib.keys()) and \ _options['readonly_controls_writeable']: - print>>OUT, 'forcing read-only form field to writeable' + print('forcing read-only form field to writeable', file=OUT) del control.attrib['readonly'] - elif 'readonly' in control.attrib.keys() or \ + elif 'readonly' in list(control.attrib.keys()) or \ (hasattr(control, 'type') and control.type == 'file'): - print>>OUT, 'form field is read-only or ignorable; nothing done.' + print('form field is read-only or ignorable; nothing done.', file=OUT) return if hasattr(control, 'type') and control.type == 'file': @@ -466,7 +466,7 @@ Sets action parameter on form to action_url """ form = browser.get_form(formname) - print "Setting action for form ", (form,), "to ", (action,) + print("Setting action for form ", (form,), "to ", (action,)) form.action = action fa = formaction @@ -490,8 +490,8 @@ fp = open(filename, 'rb') browser._formFiles[fieldname] = fp - print>>OUT, '\nAdded file "%s" to file upload field "%s"\n' % (filename, - control.name,) + print('\nAdded file "%s" to file upload field "%s"\n' % (filename, + control.name,), file=OUT) def extend_with(module_name): """ @@ -501,7 +501,7 @@ """ global_dict, local_dict = get_twill_glocals() - exec "from %s import *" % (module_name,) in global_dict + exec("from %s import *" % (module_name,), global_dict) ### now add the commands into the commands available for the shell, ### and print out some nice stuff about what the extension module does. @@ -524,19 +524,19 @@ ### - print>>OUT, "Imported extension module '%s'." % (module_name,) - print>>OUT, "(at %s)\n" % (mod.__file__,) + print("Imported extension module '%s'." % (module_name,), file=OUT) + print("(at %s)\n" % (mod.__file__,), file=OUT) if twill.shell.interactive: if mod.__doc__: - print>>OUT, "Description:\n\n%s\n" % (mod.__doc__.strip(),) + print("Description:\n\n%s\n" % (mod.__doc__.strip(),), file=OUT) else: if fnlist: - print>>OUT, 'New commands:\n' + print('New commands:\n', file=OUT) for name in fnlist: - print>>OUT, '\t', name - - print>>OUT, '' + print('\t', name, file=OUT) + + print('', file=OUT) def getinput(prompt): """ @@ -545,7 +545,7 @@ """ _, local_dict = get_twill_glocals() - inp = raw_input(prompt) + inp = input(prompt) local_dict['__input__'] = inp return inp @@ -616,9 +616,9 @@ # @BRT: Browser does not currently support realm; just add by URI for now browser._set_creds((uri, (user, passwd))) - print>>OUT, "Added auth info: realm '%s' / URI '%s' / user '%s'" % (realm, + print("Added auth info: realm '%s' / URI '%s' / user '%s'" % (realm, uri, - user,) + user,), file=OUT) def debug(what, level): """ @@ -629,7 +629,7 @@ * commands (any level >= 1), to display the commands being executed. * equiv-refresh (any level >= 1) to display HTTP-EQUIV refresh handling. """ - import parse + from . import parse try: level = int(level) @@ -640,7 +640,7 @@ else: level = 0 - print>>OUT, 'DEBUG: setting %s debugging to level %d' % (what, level) + print('DEBUG: setting %s debugging to level %d' % (what, level), file=OUT) if what == "http": # @BRT: Tries to set mechanize browser debug level directly; @@ -671,7 +671,7 @@ # execute command. global_dict, local_dict = get_twill_glocals() - import commands + from . iRefactoringTool: Refactored ./twill/browser.py mport commands # set __url__ local_dict['__cmd__'] = cmd @@ -684,7 +684,7 @@ >> runfile [ ... ] """ - import parse + from . import parse global_dict, local_dict = get_twill_glocals() for f in files: @@ -717,7 +717,7 @@ regexp = re.compile(what) title = browser.get_title() - print>>OUT, "title is '%s'." % (title,) + print("title is '%s'." % (title,), file=OUT) m = regexp.search(title) if not m: @@ -787,14 +787,14 @@ """ l = browser._session.headers if l: - print 'The following HTTP headers are added to each request:' - - for k, v in l.iteritems(): - print ' "%s" = "%s"' % (k, v,) + print('The following HTTP headers are added to each request:') + + for k, v in l.items(): + print(' "%s" = "%s"' % (k, v,)) - print '' + print('') else: - print '** no extra HTTP headers **' + print('** no extra HTTP headers **') def clear_extra_headers(): """ @@ -839,26 +839,26 @@ Deprecated: * 'allow_parse_errors' has been removed. """ - import utils + from . import utils if key is None: - keys = _options.keys() + keys = list(_options.keys()) keys.sort() - print>>OUT, 'current configuration:' + print('current configuration:', file=OUT) for k in keys: - print>>OUT, '\t%s : %s' % (k, _options[k]) - print>>OUT, '' + print('\t%s : %s' % (k, _options[k]), file=OUT) + print('', file=OUT) else: v = _options.get(key) if v is None: - print>>OUT, '*** no such configuration key', key - print>>OUT, 'valid keys are:', ";".join(_options.keys()) + print('*** no such configuration key', key, file=OUT) + print('valid keys are:', ";".join(list(_options.keys())), file=OUT) raise TwillException('no such configuration key: %s' % (key,)) elif value is None: - print>>OUT, '' - print>>OUT, 'key %s: value %s' % (key, v) - print>>OUT, '' + print('', file=OUT) + print('key %s: value %s' % (key, v), file=OUT) + print('', file=OUT) else: value = utils.make_boolean(value) _options[key] = value @@ -871,7 +871,7 @@ """ current_url = browser.get_url() if current_url is None: - print "We're not on a page!" + print("We're not on a page!") return content_type = browser.result.get_headers()['content-type'] @@ -882,20 +882,20 @@ code = browser.get_code() - print >>OUT, '\nPage information:' - print >>OUT, '\tURL:', current_url - print >>OUT, '\tHTTP code:', code - print >>OUT, '\tContent type:', content_type, + print('\nPage information:', file=OUT) + print('\tURL:', current_url, file=OUT) + print('\tHTTP code:', code, file=OUT) + print('\tContent type:', content_type, end=' ', file=OUT) if check_html: - print >>OUT, '(HTML)' + print('(HTML)', file=OUT) else: - print '' + print('') if check_html: title = browser.get_title() - print >>OUT, '\tPage title:', title + print('\tPage title:', title, file=OUT) forms = browser.get_all_forms() if len(forms): - print >>OUT, '\tThis page contains %d form(s)' % (len(forms),) + print('\tThis page contains %d form(s)' % (len(forms),), file=OUT) - print >>OUT, '' + print('', file=OUT) --- ./twill/browser.py (original) +++ ./twill/browser.py (refactored) @@ -7,14 +7,14 @@ # Python imports import pickle import re -import urlparse +import urllib.parse # Dependencies import requests from lxml import html from requests.exceptions import InvalidSchema, ConnectionError -from utils import print_form, unique_match, _follow_equiv_refresh, ResultWrapper -from errors import TwillException +from .utils import print_form, unique_match, _follow_equiv_refresh, ResultWrapper +from .errors import TwillException class TwillBrowser(object): """A simple, stateful browser""" @@ -27,7 +27,7 @@ # Taken from # https://code.google.com/p/wsgi-intercept/issues/detail?id=23 # with slight modification - import wsgi_intercept + from . import wsgi_intercept from requests.packages.urllib3 import connectionpool as cpl cpl.HTTPConnectionPool.old_http = cpl.HTTPConnectionPool.ConnectionCls cpl.HTTPConnectionPool.ConnectionCls = wsgi_intercept.WSGI_HTTPConnection @@ -73,7 +73,7 @@ # if this is a '?' or '/' URL, then assume that we want to tack it onto # the end of the current URL. - try_urls.append(urlparse.urljoin(self.get_url(), url)) + try_urls.append(urllib.parse.urljoin(self.get_url(), url)) success = False for u in try_urls: @@ -86,7 +86,7 @@ pass if success: - print>>OUT, '==> at', self.get_url() + print('==> at', self.get_url(), file=OUT) else: raise TwillException("cannot go to '%s'" % (url,)) @@ -95,7 +95,7 @@ Tell the browser to reload the current page. """ self._journey('reload') - print>>OUT, '==> reloaded' + print('==> reloaded', file=OUT) def back(self): """ @@ -103,9 +103,9 @@ """ try: self._journey('back') - print>>OUT, '==> back to', self.get_url() + print('==> back to', self.get_url(), file=OUT) except TwillException: - print>>OUT, '==> back at empty page.' + print('==> back at empty page.', file=OUT) def get_code(self): """ @@ -150,7 +150,7 @@ Follow the given link. """ self._journey('follow_link', link) - print>>OUT, '==> at', self.get_url() + print('==> at', self.get_url(), file=OUT) def set_agent_string(self, agent): """ @@ -174,20 +174,20 @@ """ links = self.get_all_links() for n,link in enumerate(links): - print>>OUT, "%d. %s ==> %s" % (n, link[0], link[1],) - print>>OUT, '' + print("%d. %s ==> %s" % (n, link[0], link[1],), file=OUT) + print('', file=OUT) def showhistory(self): """ Pretty-print the history of links visited. """ - print>>OUT, '' - print>>OUT, 'History: (%d pages total) ' % (len(self._history)) + print('', file=OUT) + print('History: (%d pages total) ' % (len(self._history)), file=OUT) n = 1 for page in self._history: - print>>OUT, "\t%d. %s" % (n, page.get_url()) + print("\t%d. %s" % (n, page.get_url()), file=OUT) n += 1 - print>>OUT, '' + print('', file=OUT) def get_all_links(self): """ @@ -220,7 +220,7 @@ Return the control that matches 'fieldname'. Must be a *unique* regexp/exact string match. """ - if fieldname in form.fields.keys(): + if fieldname in list(form.fields.keys()): controls = [f for f in form.inputs if f.get("name") == fieldname \ and hasattr(f, 'type') and f.type == 'checkbox'] if len(controls) > 1: @@ -351,9 +351,9 @@ # if ctl is not None: # submit w/button - print>>OUT, """\ + print("""\ Note: submit is using submit button: name="%s", value="%s" -""" % (ctl.get("name"), ctl.value) +""" % (ctl.get("name"), ctl.value), file=OUT) if hasattr(ctl, 'type') and ctl.type == 'image': pass @@ -424,13 +424,13 @@ Pretty-print all of the cookies. """ c = requests.utils.dict_from_cookiejar(self._session.cookies) - print>>OUT, 'There are %d cookie(s) in the cookiejar.\n' % (len(c)) + print('There are %d cookie(s) in the cookiejar.\n' % (len(c)), file=OUT) RefactoringTool: Refactored ./twill/__init__.py RefactoringTool: Refactored ./setup.py RefactoringTool: Files that were modified: RefactoringTool: ./twill/wsgi_intercept.py RefactoringTool: ./twill/utils.py RefactoringTool: ./twill/unit.py RefactoringTool: ./twill/shell.py RefactoringTool: ./twill/parse.py RefactoringTool: ./twill/other_packages/subprocess.py RefactoringTool: ./twill/other_packages/pyparsing.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_util.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_useragent.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_urllib2.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_upgrade.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_seek.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_rfc3986.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_response.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_request.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_pullparser.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_opener.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_msiecookiejar.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_mozillacookiejar.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_mechanize.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_lwpcookiejar.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_http.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_html.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_headersutil.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_gzip.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_debug.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_clientcookie.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_beautifulsoup.py RefactoringTool: ./twill/other_packages/_mechanize_dist/_auth.py RefactoringTool: ./twill/other_packages/_mechanize_dist/__init__.py RefactoringTool: ./twill/other_packages/_mechanize_dist/ClientForm.py RefactoringTool: ./twill/namespaces.py RefactoringTool: ./twill/extensions/test_extensions.py RefactoringTool: ./twill/extensions/require.py RefactoringTool: ./twill/extensions/match_parse/__init__.py RefactoringTool: ./twill/extensions/mailman_sf.py RefactoringTool: ./twill/extensions/formfill.py RefactoringTool: ./twill/extensions/dns_check.py RefactoringTool: ./twill/extensions/dirstack.py RefactoringTool: ./twill/extensions/csv_iterate.py RefactoringTool: ./twill/extensions/check_links.py RefactoringTool: ./twill/extensions/argparse.py RefactoringTool: ./twill/errors.py RefactoringTool: ./twill/commands.py RefactoringTool: ./twill/browser.py RefactoringTool: ./twill/__init__.py RefactoringTool: ./setup.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ./twill/other_packages/_mechanize_dist/_pullparser.py ### RefactoringTool: Line 330: absolute and local imports together RefactoringTool: ### In file ./twill/other_packages/_mechanize_dist/_html.py ### RefactoringTool: Line 12: absolute and local imports together RefactoringTool: ### In file ./twill/other_packages/_mechanize_dist/_headersutil.py ### RefactoringTool: Line 222: absolute and local imports together if len(self._session.cookies): for cookie in self._session.cookies: - print>>OUT, '\t', cookie - - print>>OUT, '' + print('\t', cookie, file=OUT) + + print('', file=OUT) # BRT: Added to test for meta redirection # Shamelessly stolen from @@ -456,7 +456,7 @@ url = text[4:] if not url.startswith('http'): # Relative URL, adapt - url = urlparse.urljoin(r.url, url) + url = urllib.parse.urljoin(r.url, url) return True, url return False, None @@ -492,7 +492,7 @@ # Try to find the link first url = self.find_link(args[0]) if url.find('://') == -1: - url = urlparse.urljoin(self.get_url(), url) + url = urllib.parse.urljoin(self.get_url(), url) elif func_name == 'reload': url = self.get_url() @@ -504,7 +504,7 @@ except IndexError: raise TwillException - if url in self._auth.keys(): + if url in list(self._auth.keys()): auth = self._auth[url] else: auth = None --- ./twill/__init__.py (original) +++ ./twill/__init__.py (refactored) @@ -49,11 +49,11 @@ sys.path.insert(0, wwwsearchlib) # the two core components of twill: -from shell import TwillCommandLoop -from parse import execute_file, execute_string +from .shell import TwillCommandLoop +from .parse import execute_file, execute_string # convenience function or two... -from commands import get_browser +from .commands import get_browser def get_browser_state(): import warnings @@ -63,17 +63,17 @@ return get_browser() # initialize global dict -import namespaces +from . import namespaces namespaces.init_global_dict() -from wsgi_intercept import add_wsgi_intercept, remove_wsgi_intercept +from .wsgi_intercept import add_wsgi_intercept, remove_wsgi_intercept def set_output(fp): """ Have standard output from twill go to the given fp instead of stdout. fp=None will reset to stdout. """ - import commands, browser + from . import commands, browser commands.OUT = browser.OUT = fp def set_errout(fp): @@ -81,7 +81,7 @@ Have error output from twill go to the given fp instead of stderr. fp=None will reset to stderr. """ - import commands + from . import commands if fp: commands.ERR = fp else: --- ./setup.py (original) +++ ./setup.py (refactored) @@ -3,7 +3,7 @@ try: from setuptools import setup except ImportError: - print '(WARNING: importing distutils, not setuptools!)' + print('(WARNING: importing distutils, not setuptools!)') from distutils.core import setup #### twill info. + 2to3 -w -n twill-fork RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored twill-fork RefactoringTool: Files that were modified: RefactoringTool: twill-fork --- twill-fork (original) +++ twill-fork (refactored) @@ -18,7 +18,7 @@ import sys, os, time from twill import execute_file from optparse import OptionParser -from cPickle import load, dump +from pickle import load, dump ### # make sure that the current working directory is in the path. does this @@ -81,7 +81,7 @@ failed = False if not is_parent: - print '[twill-fork: pid %d : executing %d times]' % (os.getpid(), repeat) + print('[twill-fork: pid %d : executing %d times]' % (os.getpid(), repeat)) start_time = time.time() @@ -112,8 +112,8 @@ # status != 0 indicates failure: if status != 0: - print '[twill-fork parent: process %d FAILED: exit status %d]' % (child_pid, status,) - print '[twill-fork parent: (not counting stats for this process)]' + print('[twill-fork parent: process %d FAILED: exit status %d]' % (child_pid, status,)) + print('[twill-fork parent: (not counting stats for this process)]') failed = True else: # record statistics, otherwise @@ -130,14 +130,14 @@ # summarize # - print '\n---' - print 'n processes: %d' % (options.processes,) - print 'total executed: %d' % (total_exec,) - print 'total time to execute: %f' % (total_time,) + print('\n---') + print('n processes: %d' % (options.processes,)) + print('total executed: %d' % (total_exec,)) + print('total time to execute: %f' % (total_time,)) if total_exec: - print 'average time: %f' % (total_time / total_exec,) + print('average time: %f' % (total_time / total_exec,)) else: - print '(nothing completed, no average!)' + print('(nothing completed, no average!)') if failed: sys.exit(-1) + 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/twill copying twill/wsgi_intercept.py -> build/lib/twill copying twill/utils.py -> build/lib/twill copying twill/unit.py -> build/lib/twill copying twill/shell.py -> build/lib/twill copying twill/parse.py -> build/lib/twill copying twill/namespaces.py -> build/lib/twill copying twill/errors.py -> build/lib/twill copying twill/commands.py -> build/lib/twill copying twill/browser.py -> build/lib/twill copying twill/__init__.py -> build/lib/twill creating build/lib/twill/other_packages copying twill/other_packages/subprocess.py -> build/lib/twill/other_packages copying twill/other_packages/pyparsing.py -> build/lib/twill/other_packages copying twill/other_packages/__init__.py -> build/lib/twill/other_packages creating build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_util.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_useragent.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_urllib2.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_upgrade.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_seek.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_rfc3986.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_response.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_request.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_pullparser.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_opener.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_msiecookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_mozillacookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_mechanize.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_lwpcookiejar.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_http.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_html.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_headersutil.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_gzip.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_debug.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_clientcookie.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_beautifulsoup.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/_auth.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/__init__.py -> build/lib/twill/other_packages/_mechanize_dist copying twill/other_packages/_mechanize_dist/ClientForm.py -> build/lib/twill/other_packages/_mechanize_dist creating build/lib/twill/extensions copying twill/extensions/test_extensions.py -> build/lib/twill/extensions copying twill/extensions/require.py -> build/lib/twill/extensions copying twill/extensions/mailman_sf.py -> build/lib/twill/extensions copying twill/extensions/formfill.py -> build/lib/twill/extensions copying twill/extensions/dns_check.py -> build/lib/twill/extensions copying twill/extensions/dirstack.py -> build/lib/twill/extensions copying twill/extensions/csv_iterate.py -> build/lib/twill/extensions copying twill/extensions/check_links.py -> build/lib/twill/extensions copying twill/extensions/argparse.py -> build/lib/twill/extensions copying twill/extensions/__init__.py -> build/lib/twill/extensions creating build/lib/twill/extensions/match_parse copying twill/extensions/match_parse/test-match_parse.py -> build/lib/twill/extensions/match_parse copying twill/extensions/match_parse/__init__.py -> build/lib/twill/extensions/match_parse running build_scripts creating build/scripts-3.7 copying and adjusting twill-fork -> build/scripts-3.7 changing mode of build/scripts-3.7/twill-fork from 644 to 755 + popd ~/RPM/BUILD/python-module-twill-1.8.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.49523 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-twill-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-twill-buildroot + cd python-module-twill-1.8.0 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-twill-1.8.0 + 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-twill-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-twill-buildroot creating /usr/src/tmp/python-module-twill-buildroot/usr creating /usr/src/tmp/python-module-twill-buildroot/usr/lib creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/match_parse/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/match_parse/test-match_parse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/argparse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/check_links.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/csv_iterate.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/dirstack.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/dns_check.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/formfill.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/mailman_sf.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/require.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions copying build/lib/twill/extensions/test_extensions.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/ClientForm.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_auth.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_beautifulsoup.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_clientcookie.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_debug.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_gzip.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_headersutil.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_html.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_http.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_lwpcookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_mechanize.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_mozillacookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_msiecookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_opener.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_pullparser.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_request.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_response.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_rfc3986.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_seek.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_upgrade.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_urllib2.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_useragent.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_util.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages copying build/lib/twill/other_packages/pyparsing.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages copying build/lib/twill/other_packages/subprocess.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages copying build/lib/twill/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/browser.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/commands.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/errors.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/namespaces.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/parse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/shell.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/unit.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/utils.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill copying build/lib/twill/wsgi_intercept.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/test-match_parse.py to test-match_parse.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py to argparse.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py to check_links.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/csv_iterate.py to csv_iterate.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py to dirstack.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dns_check.py to dns_check.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py to formfill.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/mailman_sf.py to mailman_sf.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py to require.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/test_extensions.py to test_extensions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py to ClientForm.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py to _auth.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py to _beautifulsoup.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py to _clientcookie.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_debug.py to _debug.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py to _gzip.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py to _headersutil.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py to _html.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py to _http.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py to _lwpcookiejar.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py to _mechanize.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py to _mozillacookiejar.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py to _msiecookiejar.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py to _opener.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py to _pullparser.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py to _request.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py to _response.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py to _rfc3986.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py to _seek.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py to _upgrade.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py to _urllib2.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py to _useragent.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_util.py to _util.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/pyparsing.py to pyparsing.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py to subprocess.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py to browser.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py to commands.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/errors.py to errors.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py to namespaces.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py to parse.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py to shell.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py to unit.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py to utils.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/wsgi_intercept.py to wsgi_intercept.cpython-37.pyc running install_egg_info running egg_info writing twill.egg-info/PKG-INFO writing dependency_links to twill.egg-info/dependency_links.txt writing entry points to twill.egg-info/entry_points.txt writing top-level names to twill.egg-info/top_level.txt reading manifest file 'twill.egg-info/SOURCES.txt' writing manifest file 'twill.egg-info/SOURCES.txt' Copying twill.egg-info to /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill-1.8.0-py3.7.egg-info running install_scripts creating /usr/src/tmp/python-module-twill-buildroot/usr/bin copying build/scripts-3.7/twill-fork -> /usr/src/tmp/python-module-twill-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork to 755 Installing twill-sh script to /usr/src/tmp/python-module-twill-buildroot/usr/bin File "/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py", line 63 SyntaxError: can't assign to keyword /usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py:255: SyntaxWarning: assertion is always true, perhaps remove parentheses? File "/usr/lib/python3/site-packages/twill/other_packages/subprocess.py", line 392 SyntaxError: can't assign to keyword + popd ~/RPM/BUILD/python-module-twill-1.8.0 + pushd /usr/src/tmp/python-module-twill-buildroot/usr/bin ~/tmp/python-module-twill-buildroot/usr/bin ~/RPM/BUILD/python-module-twill-1.8.0 ++ ls + for i in $(ls) + mv twill-fork twill-fork.py3 + for i in $(ls) + mv twill-sh twill-sh.py3 + popd ~/RPM/BUILD/python-module-twill-1.8.0 + 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/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-twill-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/match_parse/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/match_parse/test-match_parse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse copying build/lib/twill/extensions/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/argparse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/check_links.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/csv_iterate.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/dirstack.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/dns_check.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/formfill.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/mailman_sf.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/require.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions copying build/lib/twill/extensions/test_extensions.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages creating /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/ClientForm.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_auth.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_beautifulsoup.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_clientcookie.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_debug.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_gzip.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_headersutil.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_html.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_http.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_lwpcookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_mechanize.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_mozillacookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_msiecookiejar.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_opener.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_pullparser.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_request.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_response.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_rfc3986.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_seek.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_upgrade.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_urllib2.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_useragent.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/_mechanize_dist/_util.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist copying build/lib/twill/other_packages/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages copying build/lib/twill/other_packages/pyparsing.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages copying build/lib/twill/other_packages/subprocess.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages copying build/lib/twill/__init__.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/browser.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/commands.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/errors.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/namespaces.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/parse.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/shell.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/unit.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/utils.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill copying build/lib/twill/wsgi_intercept.py -> /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.py to test-match_parse.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py to argparse.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py to check_links.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.py to csv_iterate.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.py to dirstack.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.py to dns_check.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py to formfill.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.py to mailman_sf.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py to require.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/test_extensions.py to test_extensions.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py to ClientForm.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.py to _auth.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py to _beautifulsoup.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py to _clientcookie.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.py to _debug.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.py to _gzip.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py to _headersutil.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py to _html.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py to _http.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py to _lwpcookiejar.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py to _mechanize.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py to _mozillacookiejar.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py to _msiecookiejar.pyc /usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py:255: SyntaxWarning: assertion is always true, perhaps remove parentheses? byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py to _opener.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py to _pullparser.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.py to _request.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.py to _response.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py to _rfc3986.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.py to _seek.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py to _upgrade.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py to _urllib2.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py to _useragent.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.py to _util.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.py to pyparsing.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py to subprocess.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py to browser.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py to commands.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/errors.py to errors.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.py to namespaces.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py to parse.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py to shell.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.py to unit.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py to utils.pyc byte-compiling /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/wsgi_intercept.py to wsgi_intercept.pyc running install_egg_info running egg_info writing twill.egg-info/PKG-INFO writing top-level names to twill.egg-info/top_level.txt writing dependency_links to twill.egg-info/dependency_links.txt writing entry points to twill.egg-info/entry_points.txt reading manifest file 'twill.egg-info/SOURCES.txt' writing manifest file 'twill.egg-info/SOURCES.txt' Copying twill.egg-info to /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill-1.8.0-py2.7.egg-info running install_scripts copying build/scripts-2.7/twill-fork -> /usr/src/tmp/python-module-twill-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork to 755 Installing twill-sh script to /usr/src/tmp/python-module-twill-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-twill-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-twill-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-twill-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-twill-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-twill-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-twill-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-twill-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.py unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/__init__.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/test_extensions.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/test_extensions.py unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py:255: SyntaxWarning: assertion is always true, perhaps remove parentheses? http.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.py unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/__init__.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/errors.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/wsgi_intercept.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/errors.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/wsgi_intercept.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-twill-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/test_extensions.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/errors.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/wsgi_intercept.py Bytecompiling python3 modules in /usr/src/tmp/python-module-twill-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/browser.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/commands.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/errors.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/namespaces.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/parse.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/shell.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/unit.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/utils.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__pycache__/wsgi_intercept.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/argparse.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/check_links.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/csv_iterate.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/dirstack.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/dns_check.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/formfill.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/mailman_sf.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/require.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__pycache__/test_extensions.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/test-match_parse.cpython-37.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/test-match_parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/csv_iterate.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dns_check.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/mailman_sf.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/test_extensions.py unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__pycache__/pyparsing.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_auth.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_beautifulsoup.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_clientcookie.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_debug.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_gzip.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_headersutil.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_html.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_http.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_lwpcookiejar.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_mechanize.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_mozillacookiejar.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_msiecookiejar.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_opener.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_pullparser.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_request.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_response.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_rfc3986.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_seek.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_upgrade.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_urllib2.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_useragent.cpython-37.pyc unlink /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_util.cpython-37.pyc compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py", line 63 True = 1 ^ SyntaxError: can't assign to keyword /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py:255: SyntaxWarning: assertion is always true, perhaps remove parentheses? assert (sig in ("HASH", "LEAK", compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_debug.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_util.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/pyparsing.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py", line 392 False = 0 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/errors.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/wsgi_intercept.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-twill-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/test-match_parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/csv_iterate.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dns_check.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/mailman_sf.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/test_extensions.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py", line 63 True = 1 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_debug.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_util.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/pyparsing.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py", line 392 False = 0 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/errors.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/wsgi_intercept.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-twill-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/match_parse/test-match_parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/csv_iterate.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dns_check.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/mailman_sf.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/test_extensions.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py", line 63 True = 1 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_debug.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_util.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/pyparsing.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py can't be compiled : File "/usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py", line 392 False = 0 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/errors.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py compile /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/wsgi_intercept.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/twill/__pycache__/wsgi_intercept.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/wsgi_intercept.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/utils.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/utils.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/unit.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/unit.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/parse.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/parse.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/errors.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/errors.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/commands.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/commands.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/browser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/browser.cpython-37.pyc' './usr/lib/python3/site-packages/twill/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/__pycache__/pyparsing.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/__pycache__/pyparsing.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_util.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_util.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_useragent.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_useragent.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_urllib2.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_urllib2.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_urllib2.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_urllib2.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_upgrade.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_upgrade.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_upgrade.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_upgrade.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_seek.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_seek.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_rfc3986.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_rfc3986.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_request.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_request.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_pullparser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_pullparser.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_opener.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_opener.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_mechanize.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_mechanize.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_lwpcookiejar.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_lwpcookiejar.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_gzip.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_gzip.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_gzip.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_gzip.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_debug.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_debug.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_debug.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_debug.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_beautifulsoup.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/_beautifulsoup.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/require.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/require.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/mailman_sf.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/mailman_sf.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/formfill.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/formfill.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/dirstack.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/dirstack.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/csv_iterate.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/csv_iterate.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/argparse.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/argparse.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/extensions/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/test-match_parse.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/test-match_parse.cpython-37.pyc' './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/test-match_parse.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/test-match_parse.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/twill/extensions/match_parse/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/twill/wsgi_intercept.pyo' => './usr/lib/python2.7/site-packages/twill/wsgi_intercept.pyc' './usr/lib/python2.7/site-packages/twill/utils.pyo' => './usr/lib/python2.7/site-packages/twill/utils.pyc' './usr/lib/python2.7/site-packages/twill/unit.pyo' => './usr/lib/python2.7/site-packages/twill/unit.pyc' './usr/lib/python2.7/site-packages/twill/parse.pyo' => './usr/lib/python2.7/site-packages/twill/parse.pyc' './usr/lib/python2.7/site-packages/twill/errors.pyo' => './usr/lib/python2.7/site-packages/twill/errors.pyc' './usr/lib/python2.7/site-packages/twill/commands.pyo' => './usr/lib/python2.7/site-packages/twill/commands.pyc' './usr/lib/python2.7/site-packages/twill/browser.pyo' => './usr/lib/python2.7/site-packages/twill/browser.pyc' './usr/lib/python2.7/site-packages/twill/__init__.pyo' => './usr/lib/python2.7/site-packages/twill/__init__.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/subprocess.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/subprocess.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/__init__.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/__init__.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_util.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.pyc' './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.pyo' => './usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.pyc' './usr/lib/python2.7/site-packages/twill/extensions/require.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/require.pyc' './usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.pyc' './usr/lib/python2.7/site-packages/twill/extensions/formfill.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/formfill.pyc' './usr/lib/python2.7/site-packages/twill/extensions/dirstack.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/dirstack.pyc' './usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.pyc' './usr/lib/python2.7/site-packages/twill/extensions/argparse.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/argparse.pyc' './usr/lib/python2.7/site-packages/twill/extensions/__init__.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/__init__.pyc' './usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/match_parse/test-match_parse.pyc' './usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.pyo' => './usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.pyc' Processing files: python-module-twill-1.8.0-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.12928 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-twill-1.8.0 + DOCDIR=/usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + /bin/mkdir -p /usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + cp -prL README.txt /usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + chmod -R go-w /usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + chmod -R a+rX /usr/src/tmp/python-module-twill-buildroot/usr/share/doc/python-module-twill-1.8.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9t1rm4 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.H9lxK3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-sh: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: hiding shell, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: hiding parse, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: hiding commands, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: line=59 IGNORE (for REQ=slight and deep=8) module=warnings python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: hiding namespaces, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: hiding wsgi_intercept, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: line=76 IGNORE (for REQ=slight and deep=8) module=commands /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: line=76 IGNORE (for REQ=slight and deep=8) module=browser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/__init__.py: line=84 IGNORE (for REQ=slight and deep=8) module=commands python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py: hiding utils, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py: hiding errors, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py: line=30 IGNORE (for REQ=slight and deep=11) module=wsgi_intercept /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/browser.py: line=31 IGNORE (for REQ=slight and deep=11) module=requests python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: hiding browser, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: hiding utils, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: hiding utils, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: hiding namespaces, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=480 IGNORE (for REQ=slight and deep=8) module=os /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=509 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=514 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=514 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=632 IGNORE (for REQ=slight and deep=8) module=parse /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=674 IGNORE (for REQ=slight and deep=8) module=commands /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=687 IGNORE (for REQ=slight and deep=8) module=parse /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=741 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=751 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=760 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=770 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/commands.py: line=842 IGNORE (for REQ=slight and deep=8) module=utils python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py: hiding twill, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py: line=20 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/argparse.py: line=27 IGNORE (for REQ=slight and deep=12) module=twill python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py: hiding twill, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py: line=52 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py: line=166 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/check_links.py: line=170 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/csv_iterate.py: line=22 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.py: line=20 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dirstack.py: line=38 IGNORE (for REQ=slight and deep=8) module=twill python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.py: hiding twill, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/dns_check.py: line=17 IGNORE (for REQ=slight and deep=8) module=dns python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py: hiding twill, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py: line=109 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/formfill.py: line=121 IGNORE (for REQ=slight and deep=8) module=twill python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/mailman_sf.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/match_parse/__init__.py: hiding twill, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py: line=39 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py: line=65 IGNORE (for REQ=slight and deep=16) module=check_links /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py: line=104 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/extensions/require.py: line=130 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.py: line=15 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/namespaces.py: line=18 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=73 IGNORE (for REQ=slight and deep=8) module=logging python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=113 IGNORE (for REQ=slight and deep=8) module=HTMLParser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=120 IGNORE (for REQ=slight and deep=8) module=warnings /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=250 IGNORE (for REQ=slight and deep=8) module=htmlentitydefs /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=251 IGNORE (for REQ=slight and deep=8) module=codecs /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=914 IGNORE (for REQ=slight and deep=8) module=BeautifulSoup python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _mechanize, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _mechanize, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _useragent, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _html, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _urllib2, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _opener, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _http, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=110 IGNORE (for REQ=slight and deep=8) module=_http python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _lwpcookiejar, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _mozillacookiejar, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/__init__.py: hiding _msiecookiejar, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_auth.py: line=17 IGNORE (for REQ=slight and deep=8) module=md5 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py: line=1078 IGNORE (for REQ=slight and deep=8) module=sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=37 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=40 IGNORE (for REQ=slight and deep=8) module=dummy_threading python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: hiding _headersutil, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=59 IGNORE (for REQ=slight and deep=8) module=mechanize /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=59 IGNORE (for REQ=slight and deep=8) module=warnings /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=67 IGNORE (for REQ=slight and deep=8) module=traceback /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=67 IGNORE (for REQ=slight and deep=8) module=StringIO python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_debug.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.py: hiding _response, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_gzip.py: line=44 IGNORE (for REQ=slight and deep=15) module=zlib python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=222 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=222 IGNORE (for REQ=slight and deep=8) module=_headersutil python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding ClientForm, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding _headersutil, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=111 IGNORE (for REQ=slight and deep=11) module=_pullparser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=193 IGNORE (for REQ=slight and deep=11) module=ClientForm /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=212 IGNORE (for REQ=slight and deep=11) module=ClientForm /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=239 IGNORE (for REQ=slight and deep=11) module=_pullparser python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding _beautifulsoup, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: hiding ClientForm, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=338 IGNORE (for REQ=slight and deep=11) module=_beautifulsoup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=361 IGNORE (for REQ=slight and deep=11) module=_beautifulsoup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=396 IGNORE (for REQ=slight and deep=11) module=ClientForm /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=416 IGNORE (for REQ=slight and deep=11) module=_beautifulsoup /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=598 IGNORE (for REQ=slight and deep=11) module=_beautifulsoup python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _html, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _headersutil, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=199 IGNORE (for REQ=slight and deep=8) module=HTMLParser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=345 IGNORE (for REQ=slight and deep=8) module=robotparser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=352 IGNORE (for REQ=slight and deep=15) module=_opener /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=400 IGNORE (for REQ=slight and deep=15) module=httplib /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=402 IGNORE (for REQ=slight and deep=15) module=mimetools python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: hiding _headersutil, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: hiding _useragent, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: hiding _html, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py: line=16 IGNORE (for REQ=slight and deep=8) module=_winreg python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=14 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=16 IGNORE (for REQ=slight and deep=8) module=dummy_threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=20 IGNORE (for REQ=slight and deep=8) module=sets python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _http, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _upgrade, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_opener.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: hiding _html, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: line=330 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: line=330 IGNORE (for REQ=slight and deep=8) module=_pullparser python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.py: hiding _clientcookie, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_request.py: hiding _rfc3986, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.py: line=22 IGNORE (for REQ=slight and deep=8) module=mimetools /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_response.py: line=24 IGNORE (for REQ=slight and deep=8) module=email python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py: line=239 IGNORE (for REQ=slight and deep=8) module=doctest python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_seek.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: hiding _util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _opener, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _auth, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _request, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _http, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _http, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _upgrade, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _debug, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: hiding _seek, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=59 IGNORE (for REQ=slight and deep=8) module=_http python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: hiding _opener, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: hiding _urllib2, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: hiding _auth, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: hiding _gzip, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: hiding _response, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/pyparsing.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=351 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=352 IGNORE (for REQ=slight and deep=8) module=msvcrt /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=354 IGNORE (for REQ=slight and deep=12) module=pywintypes /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=355 IGNORE (for REQ=slight and deep=12) module=win32api /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=357 IGNORE (for REQ=slight and deep=12) module=win32api /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=359 IGNORE (for REQ=slight and deep=12) module=win32con /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=360 IGNORE (for REQ=slight and deep=12) module=win32pipe /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=361 IGNORE (for REQ=slight and deep=12) module=win32process /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=364 IGNORE (for REQ=slight and deep=12) module=win32event /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=366 IGNORE (for REQ=slight and deep=12) module=_subprocess /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=376 IGNORE (for REQ=slight and deep=8) module=select /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=377 IGNORE (for REQ=slight and deep=8) module=errno /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=378 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/other_packages/subprocess.py: line=379 IGNORE (for REQ=slight and deep=8) module=pickle python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py: hiding pyparsing, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/parse.py: hiding namespaces, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: hiding twill, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: hiding namespaces, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=13 IGNORE (for REQ=slight and deep=8) module=readline /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=271 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=272 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=273 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=274 IGNORE (for REQ=slight and deep=8) module=optparse /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/shell.py: line=275 IGNORE (for REQ=slight and deep=8) module=cStringIO python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.py: skipping sys python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/unit.py: hiding parse, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py: hiding subprocess, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py: hiding errors, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py: line=329 IGNORE (for REQ=slight and deep=8) module=commands /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/utils.py: line=368 IGNORE (for REQ=slight and deep=8) module=twill python.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python2.7/site-packages/twill/wsgi_intercept.py: skipping sys Provides: python2.7(twill), python2.7(twill.browser), python2.7(twill.commands), python2.7(twill.errors), python2.7(twill.extensions), python2.7(twill.extensions.argparse), python2.7(twill.extensions.check_links), python2.7(twill.extensions.csv_iterate), python2.7(twill.extensions.dirstack), python2.7(twill.extensions.dns_check), python2.7(twill.extensions.formfill), python2.7(twill.extensions.mailman_sf), python2.7(twill.extensions.match_parse), python2.7(twill.extensions.require), python2.7(twill.namespaces), python2.7(twill.other_packages), python2.7(twill.other_packages._mechanize_dist), python2.7(twill.other_packages._mechanize_dist.ClientForm), python2.7(twill.other_packages._mechanize_dist._auth), python2.7(twill.other_packages._mechanize_dist._beautifulsoup), python2.7(twill.other_packages._mechanize_dist._clientcookie), python2.7(twill.other_packages._mechanize_dist._debug), python2.7(twill.other_packages._mechanize_dist._gzip), python2.7(twill.other_packages._mechanize_dist._headersutil), python2.7(twill.other_packages._mechanize_dist._html), python2.7(twill.other_packages._mechanize_dist._http), python2.7(twill.other_packages._mechanize_dist._lwpcookiejar), python2.7(twill.other_packages._mechanize_dist._mechanize), python2.7(twill.other_packages._mechanize_dist._mozillacookiejar), python2.7(twill.other_packages._mechanize_dist._msiecookiejar), python2.7(twill.other_packages._mechanize_dist._opener), python2.7(twill.other_packages._mechanize_dist._pullparser), python2.7(twill.other_packages._mechanize_dist._request), python2.7(twill.other_packages._mechanize_dist._response), python2.7(twill.other_packages._mechanize_dist._rfc3986), python2.7(twill.other_packages._mechanize_dist._seek), python2.7(twill.other_packages._mechanize_dist._upgrade), python2.7(twill.other_packages._mechanize_dist._urllib2), python2.7(twill.other_packages._mechanize_dist._useragent), python2.7(twill.other_packages._mechanize_dist._util), python2.7(twill.other_packages.pyparsing), python2.7(twill.other_packages.subprocess), python2.7(twill.parse), python2.7(twill.shell), python2.7(twill.unit), python2.7(twill.utils), python2.7(twill.wsgi_intercept) Requires: /usr/bin/python2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(bisect), python2.7(logging), python2.7(lxml), python2.7(pkg_resources), python2.7(requests) Processing files: python-module-twill-tests-1.8.0-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ty8F65 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.JdbMQ2 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python2.7(twill.extensions.test_extensions) Requires: python-module-twill = 1.8.0-alt2.2, /usr/lib/python2.7/site-packages Processing files: python3-module-twill-1.8.0-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vhQrs6 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.7sI1T5 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork.py3: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-fork.py3: skipping time python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/bin/twill-sh.py3: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=52 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=53 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=56 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=59 IGNORE (for REQ=slight and deep=8) module=warnings /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=66 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=69 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=76 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/__init__.py: line=84 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py: line=30 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/browser.py: line=31 IGNORE (for REQ=slight and deep=11) module=requests.packages.urllib3 python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=68 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=70 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=71 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=72 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=73 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=480 IGNORE (for REQ=slight and deep=8) module=os.path /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=509 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=514 IGNORE (for REQ=slight and deep=8) module=twill.shell /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=514 IGNORE (for REQ=slight and deep=8) module=twill.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=632 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=674 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=687 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=741 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=751 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=760 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=770 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/commands.py: line=842 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py: line=20 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/argparse.py: line=27 IGNORE (for REQ=slight and deep=12) module=twill.errors /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py: line=52 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py: line=166 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/check_links.py: line=170 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/csv_iterate.py: line=22 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py: line=20 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dirstack.py: line=38 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/dns_check.py: line=17 IGNORE (for REQ=slight and deep=8) module=dns.resolver /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py: line=109 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/formfill.py: line=121 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py: line=39 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py: line=65 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py: line=104 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/extensions/require.py: line=130 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py: line=15 IGNORE (for REQ=slight and deep=8) module=twill.commands /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/namespaces.py: line=18 IGNORE (for REQ=slight and deep=8) module=twill.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=73 IGNORE (for REQ=slight and deep=8) module=logging python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=113 IGNORE (for REQ=slight and deep=8) module=html.parser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=120 IGNORE (for REQ=slight and deep=8) module=warnings /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=250 IGNORE (for REQ=slight and deep=8) module=html.entities /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=251 IGNORE (for REQ=slight and deep=8) module=codecs /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/ClientForm.py: line=914 IGNORE (for REQ=slight and deep=8) module=BeautifulSoup /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=83 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=86 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=91 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=92 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=101 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=104 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=105 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=106 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=108 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=110 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=115 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=117 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=118 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/__init__.py: line=119 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_auth.py: line=17 IGNORE (for REQ=slight and deep=8) module=md5 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_beautifulsoup.py: line=1078 IGNORE (for REQ=slight and deep=8) module=sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=37 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=40 IGNORE (for REQ=slight and deep=8) module=dummy_threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=48 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=49 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=50 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=59 IGNORE (for REQ=slight and deep=8) module=mechanize /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=59 IGNORE (for REQ=slight and deep=8) module=warnings /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=67 IGNORE (for REQ=slight and deep=8) module=traceback /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_clientcookie.py: line=67 IGNORE (for REQ=slight and deep=8) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_debug.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_gzip.py: line=44 IGNORE (for REQ=slight and deep=15) module=zlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=222 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_headersutil.py: line=222 IGNORE (for REQ=slight and deep=8) module=_headersutil /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=15 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=111 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=193 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=212 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=239 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=292 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=293 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=338 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=361 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=396 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=416 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_html.py: line=598 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=202 IGNORE (for REQ=slight and deep=8) module=html.parser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=348 IGNORE (for REQ=slight and deep=8) module=urllib.robotparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=355 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=403 IGNORE (for REQ=slight and deep=15) module=http.client /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_http.py: line=405 IGNORE (for REQ=slight and deep=15) module=mimetools python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_lwpcookiejar.py: line=26 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: line=15 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mechanize.py: line=19 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_mozillacookiejar.py: line=14 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py: line=16 IGNORE (for REQ=slight and deep=8) module=winreg /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_msiecookiejar.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=14 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=16 IGNORE (for REQ=slight and deep=8) module=dummy_threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=20 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_opener.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: line=39 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: line=330 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_pullparser.py: line=330 IGNORE (for REQ=slight and deep=8) module=_pullparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_request.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py: line=22 IGNORE (for REQ=slight and deep=8) module=mimetools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_response.py: line=24 IGNORE (for REQ=slight and deep=8) module=email.message python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_rfc3986.py: line=239 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_seek.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_upgrade.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=20 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=34 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=37 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=40 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_urllib2.py: line=47 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: line=19 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_useragent.py: line=20 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/_mechanize_dist/_util.py: skipping time python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/pyparsing.py: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=351 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=352 IGNORE (for REQ=slight and deep=8) module=msvcrt /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=354 IGNORE (for REQ=slight and deep=12) module=pywintypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=355 IGNORE (for REQ=slight and deep=12) module=win32api /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=357 IGNORE (for REQ=slight and deep=12) module=win32api /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=359 IGNORE (for REQ=slight and deep=12) module=win32con /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=360 IGNORE (for REQ=slight and deep=12) module=win32pipe /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=361 IGNORE (for REQ=slight and deep=12) module=win32process /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=364 IGNORE (for REQ=slight and deep=12) module=win32event /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=366 IGNORE (for REQ=slight and deep=12) module=_subprocess /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=376 IGNORE (for REQ=slight and deep=8) module=select /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=377 IGNORE (for REQ=slight and deep=8) module=errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=378 IGNORE (for REQ=slight and deep=8) module=fcntl /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/other_packages/subprocess.py: line=379 IGNORE (for REQ=slight and deep=8) module=pickle python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/parse.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=13 IGNORE (for REQ=slight and deep=8) module=readline /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=271 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=272 IGNORE (for REQ=slight and deep=8) module=twill /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=273 IGNORE (for REQ=slight and deep=8) module=twill.utils /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=274 IGNORE (for REQ=slight and deep=8) module=optparse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/shell.py: line=275 IGNORE (for REQ=slight and deep=8) module=io python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py: skipping sys python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/unit.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py: line=329 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/utils.py: line=368 IGNORE (for REQ=slight and deep=8) module=twill.commands python3.req: /usr/src/tmp/python-module-twill-buildroot/usr/lib/python3/site-packages/twill/wsgi_intercept.py: skipping sys Provides: python3(twill), python3(twill.browser), python3(twill.commands), python3(twill.errors), python3(twill.extensions), python3(twill.extensions.argparse), python3(twill.extensions.check_links), python3(twill.extensions.csv_iterate), python3(twill.extensions.dirstack), python3(twill.extensions.dns_check), python3(twill.extensions.formfill), python3(twill.extensions.mailman_sf), python3(twill.extensions.match_parse), python3(twill.extensions.require), python3(twill.namespaces), python3(twill.other_packages), python3(twill.other_packages._mechanize_dist), python3(twill.other_packages._mechanize_dist.ClientForm), python3(twill.other_packages._mechanize_dist._auth), python3(twill.other_packages._mechanize_dist._beautifulsoup), python3(twill.other_packages._mechanize_dist._clientcookie), python3(twill.other_packages._mechanize_dist._debug), python3(twill.other_packages._mechanize_dist._gzip), python3(twill.other_packages._mechanize_dist._headersutil), python3(twill.other_packages._mechanize_dist._html), python3(twill.other_packages._mechanize_dist._http), python3(twill.other_packages._mechanize_dist._lwpcookiejar), python3(twill.other_packages._mechanize_dist._mechanize), python3(twill.other_packages._mechanize_dist._mozillacookiejar), python3(twill.other_packages._mechanize_dist._msiecookiejar), python3(twill.other_packages._mechanize_dist._opener), python3(twill.other_packages._mechanize_dist._pullparser), python3(twill.other_packages._mechanize_dist._request), python3(twill.other_packages._mechanize_dist._response), python3(twill.other_packages._mechanize_dist._rfc3986), python3(twill.other_packages._mechanize_dist._seek), python3(twill.other_packages._mechanize_dist._upgrade), python3(twill.other_packages._mechanize_dist._urllib2), python3(twill.other_packages._mechanize_dist._useragent), python3(twill.other_packages._mechanize_dist._util), python3(twill.other_packages.pyparsing), python3(twill.other_packages.subprocess), python3(twill.parse), python3(twill.shell), python3(twill.unit), python3(twill.utils), python3(twill.wsgi_intercept) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(base64) < 0, python3(bisect) < 0, python3(calendar) < 0, python3(cmd) < 0, python3(copy) < 0, python3(csv) < 0, python3(getpass) < 0, python3(hashlib) < 0, python3(html.entities) < 0, python3(html.parser) < 0, python3(http.client) < 0, python3(io) < 0, python3(logging) < 0, python3(lxml) < 0, python3(optparse) < 0, python3(os) < 0, python3(os.path) < 0, python3(pickle) < 0, python3(pkg_resources) < 0, python3(posixpath) < 0, python3(random) < 0, python3(re) < 0, python3(requests) < 0, python3(requests.exceptions) < 0, python3(sgmllib) < 0, python3(socket) < 0, python3(string) < 0, python3(struct) < 0, python3(tempfile) < 0, python3(traceback) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(warnings) < 0 Processing files: python3-module-twill-tests-1.8.0-alt2.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5hsLW1 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.ESDgO4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python3(twill.extensions.test_extensions) Requires: python3-module-twill = 1.8.0-alt2.2, /usr/lib/python3/site-packages Adding to python-module-twill-tests a strict dependency on python-module-twill Adding to python3-module-twill-tests a strict dependency on python3-module-twill Removing 1 extra deps from python-module-twill-tests due to repentancy on python-module-twill Removing 1 extra deps from python3-module-twill-tests due to repentancy on python3-module-twill Wrote: /usr/src/RPM/RPMS/noarch/python-module-twill-1.8.0-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-twill-tests-1.8.0-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-twill-1.8.0-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-twill-tests-1.8.0-alt2.2.noarch.rpm 68.41user 3.43system 1:24.25elapsed 85%CPU (0avgtext+0avgdata 41672maxresident)k 0inputs+0outputs (0major+433230minor)pagefaults 0swaps 82.13user 10.62system 1:45.29elapsed 88%CPU (0avgtext+0avgdata 109084maxresident)k 0inputs+0outputs (0major+914052minor)pagefaults 0swaps --- python-module-twill-1.8.0-alt2.2.noarch.rpm.repo 2019-04-22 15:50:19.000000000 +0000 +++ python-module-twill-1.8.0-alt2.2.noarch.rpm.hasher 2020-02-12 13:15:29.314228392 +0000 @@ -156,3 +156,3 @@ /usr/share/doc/python-module-twill-1.8.0/README.txt 100644 -Requires: /usr/bin/python +Requires: /usr/bin/python2.7 Requires: /usr/lib/python2.7/site-packages