<86>Dec 11 07:29:24 userdel[92572]: delete user 'rooter' <86>Dec 11 07:29:24 userdel[92572]: removed group 'rooter' owned by 'rooter' <86>Dec 11 07:29:24 userdel[92572]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 11 07:29:24 groupadd[92616]: group added to /etc/group: name=rooter, GID=612 <86>Dec 11 07:29:24 groupadd[92616]: group added to /etc/gshadow: name=rooter <86>Dec 11 07:29:24 groupadd[92616]: new group: name=rooter, GID=612 <86>Dec 11 07:29:24 useradd[92652]: new user: name=rooter, UID=612, GID=612, home=/root, shell=/bin/bash <86>Dec 11 07:29:24 userdel[92743]: delete user 'builder' <86>Dec 11 07:29:24 userdel[92743]: removed group 'builder' owned by 'builder' <86>Dec 11 07:29:24 userdel[92743]: removed shadow group 'builder' owned by 'builder' <86>Dec 11 07:29:24 groupadd[92793]: group added to /etc/group: name=builder, GID=613 <86>Dec 11 07:29:24 groupadd[92793]: group added to /etc/gshadow: name=builder <86>Dec 11 07:29:24 groupadd[92793]: new group: name=builder, GID=613 <86>Dec 11 07:29:24 useradd[92820]: new user: name=builder, UID=613, GID=613, home=/usr/src, shell=/bin/bash warning: user slev_test does not exist - using root warning: group slev_test does not exist - using root warning: user slev_test does not exist - using root warning: group slev_test does not exist - using root <13>Dec 11 07:29:26 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 11 07:29:26 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 11 07:29:26 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Dec 11 07:29:26 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Dec 11 07:29:26 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 11 07:29:26 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 11 07:29:26 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 11 07:29:26 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 11 07:29:26 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Dec 11 07:29:26 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 11 07:29:26 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 11 07:29:26 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 11 07:29:26 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 11 07:29:27 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:29:27 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:29:27 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:29:31 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 11 07:29:31 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 11 07:29:31 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Dec 11 07:29:31 rpmi: python3-dev-3.6.5-alt1.1 1535734576 installed <13>Dec 11 07:29:31 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Dec 11 07:29:31 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Dec 11 07:29:31 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <86>Dec 11 07:29:31 groupadd[120715]: group added to /etc/group: name=_keytab, GID=499 <13>Dec 11 07:29:31 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Dec 11 07:29:31 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 11 07:29:31 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 11 07:29:31 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 11 07:29:31 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Dec 11 07:29:31 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 11 07:29:31 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 11 07:29:31 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-google-apputils-0.4.2-alt2.1.nosrc.rpm Installing python-module-google-apputils-0.4.2-alt2.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.90384 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf google-apputils-0.4.2 + echo 'Source #0 (google-apputils-0.4.2.tar.gz):' Source #0 (google-apputils-0.4.2.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/google-apputils-0.4.2.tar.gz + cd google-apputils-0.4.2 + /bin/chmod -c -Rf u+rwX,go-w . + find . -type f -exec chmod go+r '{}' ';' + find . -type d -exec chmod go+rx '{}' ';' + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: No changes to ../python3/google/__init__.py RefactoringTool: Refactored ../python3/google/apputils/stopwatch.py RefactoringTool: No changes to ../python3/google/apputils/shellutil.py RefactoringTool: No changes to ../python3/google/apputils/debug.py RefactoringTool: No changes to ../python3/google/apputils/resources.py RefactoringTool: Refactored ../python3/google/apputils/app.py RefactoringTool: Refactored ../python3/google/apputils/appcommands.py --- ../python3/google/apputils/stopwatch.py (original) +++ ../python3/google/apputils/stopwatch.py (refactored) @@ -46,7 +46,7 @@ all_this. """ -import StringIO +import io import time @@ -150,7 +150,7 @@ if total == 0.0: return 0.0 - all_timers = sum(self.accum.itervalues()) + all_timers = sum(self.accum.values()) return total - (all_timers - total) def results(self, verbose=False): @@ -166,7 +166,7 @@ """ now = time.time() - all_names = self.accum.keys() + all_names = list(self.accum.keys()) names = [] if 'total' in all_names: @@ -193,7 +193,7 @@ Returns: A string describing the stopwatch. """ - output = StringIO.StringIO() + output = io.StringIO() results = self.results(verbose=verbose) maxlength = max([len(result[0]) for result in results]) for result in results: --- ../python3/google/apputils/app.py (original) +++ ../python3/google/apputils/app.py (refactored) @@ -91,8 +91,8 @@ if arg: usage(shorthelp=1, writeto_stdout=1) # Advertise --helpfull on stdout, since usage() was on stdout. - print - print 'Try --helpfull to get a list of all flags.' + print() + print('Try --helpfull to get a list of all flags.') sys.exit(1) @@ -146,7 +146,7 @@ try: argv = FLAGS(args) return argv - except flags.FlagsError, error: + except flags.FlagsError as error: sys.stderr.write('FATAL Flags parsing error: %s\n' % error) sys.stderr.write('Pass --helpshort or --helpfull to see help on flags.\n') sys.exit(1) @@ -218,7 +218,7 @@ sys.exit(retval) else: sys.exit(main(argv)) - except UsageError, error: + except UsageError as error: usage(shorthelp=1, detailed_error=error, exitcode=error.exitcode) except: if FLAGS.pdb_post_mortem: @@ -265,9 +265,9 @@ try: really_start() - except SystemExit, e: + except SystemExit as e: raise - except Exception, e: + except Exception as e: # Call any installed exception handlers which may, for example, # log to a file or send email. for handler in EXCEPTION_HANDLERS: @@ -323,7 +323,7 @@ stdfile.write('\n') if detailed_error is not None: stdfile.write('\n%s\n' % detailed_error) - except IOError, e: + except IOError as e: # We avoid printing a huge backtrace if we get EPIPE, because # "foo.par --help | less" is a frequent use case. if e.errno != errno.EPIPE: --- ../python3/google/apputils/appcommands.py (original) +++ ../python3/google/apputils/appcommands.py (refactored) @@ -176,7 +176,7 @@ def GetFullCommandList(): """Return list of registered commands, including aliases.""" all_cmds = dict(GetCommandList()) - for cmd_alias, cmd_name in GetCommandAliasList().iteritems(): + for cmd_alias, cmd_name in GetCommandAliasList().items(): all_cmds[cmd_alias] = all_cmds.get(cmd_name) return all_cmds @@ -296,7 +296,7 @@ else: assert isinstance(ret, int) return ret - except app.UsageError, error: + except app.UsageError as error: app.usage(shorthelp=1, detailed_error=error, exitcode=error.exitcode) except: if FLAGS.pdb_post_mortem: @@ -623,7 +623,7 @@ else: # Show list of commands if show_cmd is None or show_cmd == 'help': - cmd_names = GetCommandList().keys() + cmd_names = list(GetCommandList().keys()) cmd_names.sort() stdfile.write('Any of the following commands:\n') doc = ', '.join(cmd_names) @@ -635,7 +635,7 @@ elif FLAGS.help or FLAGS.helpshort or shorthelp: cmd_names = [] else: - cmd_names = GetCommandList().keys() # show all commands + cmd_names = list(GetCommandList().keys()) # show all commands cmd_names.sort() # Show the command help (none, one specific, or all) for name in cmd_names: @@ -703,7 +703,7 @@ try: _cmd_argv = FLAGS(argv) return _cmd_argv - except flags.FlagsError, error: + except flags.FlagsError as error: ShortHelpAndExit('FATRefactoringTool: Refactored ../python3/google/apputils/file_util.py RefactoringTool: No changes to ../python3/google/apputils/__init__.py RefactoringTool: No changes to ../python3/google/apputils/datelib.py RefactoringTool: Refactored ../python3/google/apputils/basetest.py AL Flags parsing error: %s' % error) @@ -758,9 +758,9 @@ try: sys.modules['__main__'].main(GetCommandArgv()) # If sys.exit was called, return with error code. - except SystemExit, e: + except SystemExit as e: sys.exit(e.code) - except Exception, error: + except Exception as error: traceback.print_exc() # Print a backtrace to stderr. ShortHelpAndExit('\nFATAL error in main: %s' % error) --- ../python3/google/apputils/file_util.py (original) +++ ../python3/google/apputils/file_util.py (refactored) @@ -42,7 +42,7 @@ return fp.read() -def Write(filename, contents, overwrite_existing=True, mode=0666, gid=None): +def Write(filename, contents, overwrite_existing=True, mode=0o666, gid=None): """Create a file 'filename' with 'contents', with the mode given in 'mode'. The 'mode' is modified by the umask, as in open(2). If @@ -70,7 +70,7 @@ os.chown(filename, -1, gid) -def AtomicWrite(filename, contents, mode=0666, gid=None): +def AtomicWrite(filename, contents, mode=0o666, gid=None): """Create a file 'filename' with 'contents' atomically. As in Write, 'mode' is modified by the umask. This creates and moves @@ -97,10 +97,10 @@ if gid is not None: os.chown(tmp_filename, -1, gid) os.rename(tmp_filename, filename) - except OSError, exc: + except OSError as exc: try: os.remove(tmp_filename) - except OSError, e: + except OSError as e: exc = OSError('%s. Additional errors cleaning up: %s' % (exc, e)) raise exc @@ -158,7 +158,7 @@ finally: try: shutil.rmtree(temp_dir_path) - except OSError, e: + except OSError as e: if e.message == 'Cannot call rmtree on a symbolic link': # Interesting synthetic exception made up by shutil.rmtree. # Means we received a symlink from mkdtemp. @@ -193,7 +193,7 @@ # only chmod if we created if force_mode is not None: os.chmod(path, force_mode) - except OSError, exc: + except OSError as exc: if not (exc.errno == errno.EEXIST and os.path.isdir(path)): raise @@ -209,7 +209,7 @@ """ try: shutil.rmtree(dir_name) - except OSError, err: + except OSError as err: if err.errno != errno.ENOENT: raise @@ -218,12 +218,12 @@ while parent_directory: try: os.rmdir(parent_directory) - except OSError, err: + except OSError as err: if err.errno != errno.ENOENT: raise parent_directory = os.path.dirname(parent_directory) - except OSError, err: + except OSError as err: if err.errno not in (errno.EACCES, errno.ENOTEMPTY, errno.EPERM): raise --- ../python3/google/apputils/basetest.py (original) +++ ../python3/google/apputils/basetest.py (refactored) @@ -34,7 +34,7 @@ import tempfile import types import unittest -import urlparse +import urllib.parse try: import faulthandler # pylint: disable=g-import-not-at-top @@ -349,8 +349,8 @@ # Fail on strings: empirically, passing strings to this test method # is almost always a bug. If comparing the character sets of two strings # is desired, cast the inputs to sets or lists explicitly. - if (isinstance(expected_seq, basestring) or - isinstance(actual_seq, basestring)): + if (isinstance(expected_seq, str) or + isinstance(actual_seq, str)): self.fail('Passing a string to assertSameElements is usually a bug. ' 'Did you mean to use assertEqual?\n' 'Expected: %s\nActual: %s' % (expected_seq, actual_seq)) @@ -381,9 +381,9 @@ # has a different error format. However, I find this slightly more readable. def assertMultiLineEqual(self, first, second, msg=None): """Assert that two multi-line strings are equal.""" - assert isinstance(first, types.StringTypes), ( + assert isinstance(first, (str,)), ( 'First argument is not a string: %r' % (first,)) - assert isinstance(second, types.StringTypes), ( + assert isinstance(second, (str,)), ( 'Second argument is not a string: %r' % (second,)) if first == second: @@ -402,8 +402,8 @@ """Asserts that value is between minv and maxv (inclusive).""" if msg is None: msg = '"%r" unexpectedly not between "%r" and "%r"' % (value, minv, maxv) - self.assert_(minv <= value, msg) - self.assert_(maxv >= value, msg) + self.assertTrue(minv <= value, msg) + self.assertTrue(maxv >= value, msg) def assertRegexMatch(self, actual_str, regexes, message=None): # pylint: disable=g-doc-bad-indent @@ -439,7 +439,7 @@ message: The message to be printed if the test fails. """ # pylint: enable=g-doc-bad-indent - if isinstance(regexes, basestring): + if isinstance(regexes, str): self.fail('regexes is a string; use assertRegexpMatches instead.') if not regexes: self.fail('No regexes specified.') @@ -449,15 +449,15 @@ if type(regex) is not regex_type: self.fail('regexes list must all be the same type.') - if regex_type is bytes and isinstance(actual_str, unicode): + if regex_type is bytes and isinstance(actual_str, str): regexes = [regex.decode('utf-8') for regex in regexes] - regex_type = unicode - elif regex_type is unicode and isinstance(actual_str, bytes): + regex_type = str + elif regex_type is str and isinstance(actual_str, bytes): regexes = [regex.encode('utf-8') for regex in regexes] regex_type = bytes - if regex_type is unicode: - regex = u'(?:%s)' % u')|(?:'.join(regexes) + if regex_type is str: + regex = '(?:%s)' % ')|(?:'.join(regexes) elif regex_type is bytes: regex = b'(?:' + (b')|(?:'.join(regexes)) + b')' else: @@ -482,7 +482,7 @@ # Accommodate code which listed their output regexes w/o the b'' prefix by # converting them to bytes for the user. - if isinstance(regexes[0], unicode): + if isinstance(regexes[0], str): regexes = [regex.encode('utf-8') for regex in regexes] command_string = GetCommandString(command) @@ -520,7 +520,7 @@ # Accommodate code which listed their output regexes w/o the b'' prefix by # converting them to bytes for the user. - if isinstance(regexes[0], unicode): + if isinstance(regexes[0], str): regexes = [regex.encode('utf-8') for regex in regexes] command_string = GetCommandString(command) @@ -579,7 +579,7 @@ """ # pylint: enable=g-doc-args def Check(err): - self.assert_(predicate(err), + self.assertTrue(predicate(err), '%r does not match predicate %r' % (err, predicate)) context = self._AssertRaisesContext(expected_exception, self, Check) @@ -618,7 +618,7 @@ # pylint: enable=g-doc-args def Check(err): actual_exception_message = str(err) - self.assert_(expected_exception_message == actual_exception_message, + self.assertTrue(expected_exception_message == actual_exception_message, 'Exception message does not match.\n' 'Expected: %r\n' 'Actual: %r' % (expected_exception_message, @@ -654,7 +654,7 @@ """ # pylint: enable=g-doc-args # TODO(user): this is a good candidate for a global search-and-replace. - return self.assertRaisesRegexp(expected_exception, expected_regexp, + return self.assertRaisesRegex(expected_exception, expected_regexp, callable_obj, *args, **kwargs) def assertContainsInOrder(self, strings, target): @@ -824,8 +824,8 @@ if a == b: return - a_items = Sorted(list(a.iteritems())) - b_items = Sorted(list(b.iteritems())) + a_items = Sorted(list(a.items())) + b_items = Sorted(list(b.items())) unexpected = [] missing = [] @@ -838,7 +838,7 @@ # Sort the entries based on their repr, not based on their sort order, # which will be non-deterministic across executions, for many types. entries = sorted((safe_repr(k), safe_repr(v)) - for k, v in dikt.iteritems()) + for k, v in dikt.items()) return '{%s}' % (', '.join('%s: %s' % pair for pair in entries)) message = ['%s != %s%s' % (Repr(a), Repr(b), ' (%s)' % msg if msg else '')] @@ -876,8 +876,8 @@ def assertUrlEqual(self, a, b): """Asserts that urls are equal, ignoring ordering of query params.""" - parsed_a = urlparse.urlparse(a) - parsed_b = urlparse.urlparse(b) + parsed_a = urllib.parse.urlparse(a) + parsed_b = urllib.parse.urlparse(b) self.assertEqual(parsed_a.scheme, parsed_b.scheme) self.assertEqual(parsed_a.netloc, parsed_b.netloc) self.assertEqual(parsed_a.path, parsed_b.path) @@ -885,8 +885,8 @@ self.assertEqual(sorted(parsed_a.params.split(';')), sorted(parsed_b.params.split(';'))) self.assertDictEqual( - urlparse.parse_qs(parsed_a.query, keep_blank_values=True), - urlparse.parse_qs(parsed_b.query, keep_blank_values=True)) + urllib.parse.parse_qs(parsed_a.query, keep_blank_values=True), + urllib.parse.parse_qs(parsed_b.query, keep_blank_values=True)) def assertSameStructure(self, a, b, aname='a', bname='b', msg=None): """Asserts that two values contain the same structural content. @@ -1060,7 +1060,7 @@ # Open file to save stream to cap_fd = os.open(self._filename, os.O_CREAT | os.O_TRUNC | os.O_WRONLY, - 0600) + 0o600) # Send stream to this file self._stream.flush() @@ -1075,7 +1075,7 @@ # Append stream to file cap_fd = os.open(self._filename, os.O_CREAT | os.O_APPEND | os.O_WRONLY, - 0600) + 0o600) # Send stream to this file self._stream.flush() @@ -1106,7 +1106,7 @@ stream: Should be sys.stdout or sys.stderr. filename: File where output should be stored. """ - assert not _captured_streams.has_key(stream) + assert stream not in _captured_streams _captured_streams[stream] = CapturedStream(stream, filename) @@ -1116,8 +1116,8 @@ Args: stream: Should be sys.stdout or sys.stderr. """ - assert _captured_streams.has_key(stream) - for cap_stream in _captured_streams.itervalues(): + assert stream in _captured_streams + for cap_stream in _captured_streams.values(): cap_stream.StopCapture() @@ -1137,7 +1137,7 @@ # remove the current stream del _captured_streams[stream] # restore other stream capture - for cap_stream in _captured_streams.itervalues(): + for cap_stream in _captured_streams.values(): cap_stream.RestartCapture() @@ -1258,7 +1258,7 @@ os.close(fd) -_INT_TYPES = (int, long) # Sadly there is no types.IntTypes defined for us. +_INT_TYPES = (int, int) # Sadly there is no types.IntTypes defined for us. def _WalkStructureForProblems(a, b, aname, bname, problem_list): @@ -1285,15 +1285,15 @@ problem_list.append('%s lacks [%r] but %s has it' % (aname, k, bname)) # Strings are Sequences but we'll just do those with regular != - elif isinstance(a, collections.Sequence) and not isinstance(a, basestring): + elif isinstance(a, collections.Sequence) and not isinstance(a, str): minlen = min(len(a), len(b)) - for i in xrange(minlen): + for i in range(minlen): _WalkStructureForProblems(a[i], b[i], '%s[%d]' % (aname, i), '%s[%d]' % (bname, i), problem_list) - for i in xrange(minlen, len(a)): + for i in range(minlen, len(a)): problem_list.append('%s has [%i] but %s does not' % (aname, i, bname)) - for i in xrange(minlen, len(b)): + for i in range(minlen, len(b)): problem_list.append('%s lacks [%i] but %s has it' % (aname, i, bname)) else: @@ -1381,7 +1381,7 @@ Returns: A string suitable for use as a shell command. """ - if isinstance(command, types.StringTypes): + if isinstance(command, (str,)): return command else: return shellutil.ShellEscapeList(command) @@ -1405,7 +1405,7 @@ if os.environ.get('PYTHON_RUNFILES') and not env.gRefactoringTool: Refactored ../python3/google/apputils/run_script_module.py RefactoringTool: Refactored ../python3/google/apputils/humanize.py WARNING: couldn't encode ../python3/google/apputils/humanize.py's diff for your terminal RefactoringTool: Refactored ../python3/google/apputils/setup_command.py RefactoringTool: Refactored ../python3/ez_setup.py et('PYTHON_RUNFILES'): env['PYTHON_RUNFILES'] = os.environ['PYTHON_RUNFILES'] - use_shell = isinstance(command, types.StringTypes) + use_shell = isinstance(command, (str,)) process = subprocess.Popen( command, close_fds=close_fds, @@ -1541,7 +1541,7 @@ # Save command-line flags so the side effects of FLAGS(sys.argv) can be # undone. saved_flags = dict((f.name, SavedFlag(f)) - for f in FLAGS.FlagDict().itervalues()) + for f in FLAGS.FlagDict().values()) # Here we'd like to change the default of alsologtostderr from False to # True, so the test programs's stderr will contain all the log messages. @@ -1578,7 +1578,7 @@ # after the command-line has been parsed. So we have the for loop below # to change back flags to their old values. argv = FLAGS(sys.argv) - for saved_flag in saved_flags.itervalues(): + for saved_flag in saved_flags.values(): saved_flag.RestoreFlag() --- ../python3/google/apputils/run_script_module.py (original) +++ ../python3/google/apputils/run_script_module.py (refactored) @@ -119,7 +119,7 @@ def PrintOurUsage(): """Print usage for the stub script.""" - print 'Stub script %s (auto-generated). Options:' % sys.argv[0] + print('Stub script %s (auto-generated). Options:' % sys.argv[0]) print ('--helpstub ' 'Show help for stub script.') print ('--debug_binary ' @@ -204,8 +204,8 @@ args = [sys.executable] + args if show_command_and_exit: - print 'program: "%s"' % program - print 'args:', args + print('program: "%s"' % program) + print('args:', args) sys.exit(0) try: --- ../python3/google/apputils/humanize.py (original) +++ ../python3/google/apputils/humanize.py (refactored) @@ -262,7 +262,7 @@ # Prefixes and corresponding min_scale and max_scale for decimal formating. --- ../python3/google/apputils/setup_command.py (original) +++ ../python3/google/apputils/setup_command.py (refactored) @@ -126,7 +126,7 @@ sys.argv = [module.__file__] + self.test_args # Late import since this must be run with the project's sys.path. - import basetest + from . import basetest try: try: sys.stderr.write('Testing %s\n' % module_name) --- ../python3/ez_setup.py (original) +++ ../python3/ez_setup.py (refactored) @@ -43,10 +43,10 @@ if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -76,14 +76,14 @@ return do_download() try: pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) except pkg_resources.DistributionNotFound: pass @@ -102,7 +102,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -128,7 +128,7 @@ version, download_base, delay, url ); from time import sleep; RefactoringTool: No changes to ../python3/tests/resources_test.py RefactoringTool: Refactored ../python3/tests/appcommands_example.py RefactoringTool: Refactored ../python3/tests/datelib_unittest.py sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -189,10 +189,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -211,8 +211,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -225,7 +225,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -235,7 +235,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] --- ../python3/tests/appcommands_example.py (original) +++ ../python3/tests/appcommands_example.py (refactored) @@ -53,13 +53,13 @@ Returns: Value of flag fail1 """ - print 'Command1' + print('Command1') if FLAGS.hint: - print "Hint1:'%s'" % FLAGS.hint - print "Foo1:'%s'" % FLAGS.foo - print "Bar1:'%s'" % FLAGS.bar + print("Hint1:'%s'" % FLAGS.hint) + print("Foo1:'%s'" % FLAGS.foo) + print("Bar1:'%s'" % FLAGS.bar) if FLAGS.allhelp: - print "AllHelp:'%s'" % self._all_commands_help + print("AllHelp:'%s'" % self._all_commands_help) return FLAGS.fail1 * 1 @@ -83,22 +83,22 @@ Returns: Value of flag fail2 """ - print 'Command2' + print('Command2') if FLAGS.hint: - print "Hint2:'%s'" % FLAGS.hint - print "Foo2:'%s'" % FLAGS.foo - print "Bar2:'%s'" % FLAGS.bar + print("Hint2:'%s'" % FLAGS.hint) + print("Foo2:'%s'" % FLAGS.foo) + print("Bar2:'%s'" % FLAGS.bar) return FLAGS.fail2 * 1 def Test3(unused_argv): """Help for test3.""" - print 'Command3' + print('Command3') def Test4(unused_argv): """Help for test4.""" - print 'Command4' + print('Command4') def main(unused_argv): --- ../python3/tests/datelib_unittest.py (original) +++ ../python3/tests/datelib_unittest.py (refactored) @@ -38,12 +38,12 @@ def testTzRandomConversion(self): random.seed(self.seed) - for unused_i in xrange(100): + for unused_i in range(100): stz = pytz.timezone(random.choice(pytz.all_timezones)) a = datelib.Timestamp.FromString('2008-04-12T10:00:00', stz) b = a - for unused_j in xrange(100): + for unused_j in range(100): b = b.astimezone(pytz.timezone(random.choice(pytz.all_timezones))) self.assertEqual(a, b) random.seed() @@ -59,7 +59,7 @@ IsEq(datelib.MAXIMUM_MICROSECOND_TIMESTAMP) random.seed(self.seed) - for _ in xrange(100): + for _ in range(100): IsEq(random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP)) def testMicroTimestampKnown(self): @@ -80,7 +80,7 @@ datelib.Timestamp.FromMicroTimestamp(b))) random.seed(self.seed) - for unused_i in xrange(100): + for unused_i in range(100):RefactoringTool: No changes to ../python3/tests/stopwatch_unittest.py RefactoringTool: Refactored ../python3/tests/humanize_test.py WARNING: couldn't encode ../python3/tests/humanize_test.py's diff for your terminal RefactoringTool: Refactored ../python3/tests/file_util_test.py IsEq( random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP), random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP)) @@ -131,7 +131,7 @@ startdate = datelib.US_PACIFIC.localize( datelib.Timestamp(2009, 1, 1, 3, 0, 0, 0)) - for day in xrange(1, 366): + for day in range(1, 366): self.assertEqual( datelib.Timestamp.FromString(startdate.isoformat()), startdate, @@ -144,7 +144,7 @@ The result shall always be the same as tz.localize(naive_time). """ baseday = datelib.datetime.date(2009, 1, 1).toordinal() - for day_offset in xrange(0, 365): + for day_offset in range(0, 365): day = datelib.datetime.date.fromordinal(baseday + day_offset) naive_day = datelib.datetime.datetime.combine( day, datelib.datetime.time(0, 45, 9)) @@ -184,9 +184,9 @@ self.assertEqual( 0, datelib.DatetimeToUTCMicros(_EpochToDatetime(0))) self.assertEqual( - 1001 * long(datelib._MICROSECONDS_PER_SECOND), + 1001 * int(datelib._MICROSECONDS_PER_SECOND), datelib.DatetimeToUTCMicros(_EpochToDatetime(1001))) - self.assertEqual(long(self.now * datelib._MICROSECONDS_PER_SECOND), + self.assertEqual(int(self.now * datelib._MICROSECONDS_PER_SECOND), datelib.DatetimeToUTCMicros(_EpochToDatetime(self.now))) # tzinfo shouldn't change the result @@ -197,8 +197,8 @@ self.assertEqual( 0, datelib.DatetimeToUTCMillis(_EpochToDatetime(0))) self.assertEqual( - 1001 * 1000L, datelib.DatetimeToUTCMillis(_EpochToDatetime(1001))) - self.assertEqual(long(self.now * 1000), + 1001 * 1000, datelib.DatetimeToUTCMillis(_EpochToDatetime(1001))) + self.assertEqual(int(self.now * 1000), datelib.DatetimeToUTCMillis(_EpochToDatetime(self.now))) # tzinfo shouldn't change the result @@ -210,7 +210,7 @@ self.assertEqual(_EpochToDatetime(1.000001), datelib.UTCMicrosToDatetime(1000001)) self.assertEqual(_EpochToDatetime(self.now), datelib.UTCMicrosToDatetime( - long(self.now * datelib._MICROSECONDS_PER_SECOND))) + int(self.now * datelib._MICROSECONDS_PER_SECOND))) # Check timezone-aware comparisons self.assertEqual(_EpochToDatetime(0, self.pst), @@ -225,7 +225,7 @@ dt = _EpochToDatetime(t) # truncate sub-milli time dt -= datelib.datetime.timedelta(microseconds=dt.microsecond % 1000) - self.assertEqual(dt, datelib.UTCMillisToDatetime(long(t * 1000))) + self.assertEqual(dt, datelib.UTCMillisToDatetime(int(t * 1000))) # Check timezone-aware comparisons self.assertEqual(_EpochToDatetime(0, self.pst), --- ../python3/tests/humanize_test.py (original) +++ ../python3/tests/humanize_test.py (refactored) @@ -90,7 +90,7 @@ humanize.DecimalPrefix(-0.004, 'm', min_scale=None)) self.assertEqual('0 m', humanize.DecimalPrefix(0, 'm', min_scale=None)) self.assertEqual( --- ../python3/tests/file_util_test.py (original) +++ ../python3/tests/file_util_test.py (refactored) @@ -17,7 +17,7 @@ -import __builtin__ +import builtins import errno import os import posix @@ -65,7 +65,7 @@ file_util.Write(self.file_path, 'original contents') file_util.Write(self.file_path, self.sample_contents) with open(self.file_path) as fp: - self.assertEquals(fp.read(), self.sample_contents) + self.assertEqual(fp.read(), self.sample_contents) def testWriteExclusive(self): file_util.Write(self.file_path, 'original contents') @@ -73,7 +73,7 @@ self.sample_contents, overwrite_existing=False) def testWriteMode(self): - mode = 0744 + mode = 0o744 file_util.Write(self.file_path, self.sample_contents, mode=mode) s = os.stat(self.file_path) self.assertEqual(stat.S_IMODE(s.st_mode), mode) @@ -81,10 +81,10 @@ def testAtomicWriteSuccessful(self): file_util.AtomicWrite(self.file_path, self.sample_contents) with open(self.file_path) as fp: - self.asserRefactoringTool: Refactored ../python3/tests/basetest_test.py tEquals(fp.read(), self.sample_contents) + self.assertEqual(fp.read(), self.sample_contents) def testAtomicWriteMode(self): - mode = 0745 + mode = 0o745 file_util.AtomicWrite(self.file_path, self.sample_contents, mode=mode) s = os.stat(self.file_path) self.assertEqual(stat.S_IMODE(s.st_mode), mode) @@ -126,7 +126,7 @@ self.mox.ReplayAll() try: - self.assertEquals(file_util.Read(self.file_path), self.sample_contents) + self.assertEqual(file_util.Read(self.file_path), self.sample_contents) self.mox.VerifyAll() finally: # Because we mock out the built-in open() function, which the unittest @@ -143,7 +143,7 @@ self.mox.StubOutWithMock(os, 'chown') gid = 'new gid' os.open(self.file_path, os.O_WRONLY | os.O_TRUNC | os.O_CREAT, - 0666).AndReturn(self.fd) + 0o666).AndReturn(self.fd) os.write(self.fd, self.sample_contents) os.close(self.fd) os.chown(self.file_path, -1, gid) @@ -212,7 +212,7 @@ file_util.AtomicWrite(self.file_path, self.sample_contents, mode=self.mode) except OSError as e: - self.assertEquals(str(e), + self.assertEqual(str(e), 'A problem renaming!. Additional errors cleaning up: ' 'A problem removing!') else: @@ -245,7 +245,7 @@ temp_dirs = [] self.assertRaises(Exception, Inner, temp_dirs) # Ensure that the directory is removed on exit even when exceptions happen. - self.assertEquals(len(temp_dirs), 1) + self.assertEqual(len(temp_dirs), 1) self.assertFalse(os.path.isdir(temp_dirs[0])) def testTemporaryDirectory(self): @@ -282,10 +282,10 @@ def testNoErrorsAbsoluteOneDirWithForceMode(self): # record, replay os.mkdir('/foo') - os.chmod('/foo', 0707) - self.mox.ReplayAll() - # test, verify - file_util.MkDirs('/foo', force_mode=0707) + os.chmod('/foo', 0o707) + self.mox.ReplayAll() + # test, verify + file_util.MkDirs('/foo', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsExistingDirWithForceMode(self): @@ -296,7 +296,7 @@ os.path.isdir('/foo').AndReturn(True) self.mox.ReplayAll() # test, verify - file_util.MkDirs('/foo', force_mode=0707) + file_util.MkDirs('/foo', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsAbsoluteSlashDot(self): @@ -332,10 +332,10 @@ os.mkdir('/foo').AndRaise(exist_error) # /foo exists os.path.isdir('/foo').AndReturn(True) os.mkdir('/foo/bar') # bar does not - os.chmod('/foo/bar', 0707) - self.mox.ReplayAll() - # test, verify - file_util.MkDirs('/foo/bar', force_mode=0707) + os.chmod('/foo/bar', 0o707) + self.mox.ReplayAll() + # test, verify + file_util.MkDirs('/foo/bar', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsRelativeOneDir(self): --- ../python3/tests/basetest_test.py (original) +++ ../python3/tests/basetest_test.py (refactored) @@ -181,8 +181,8 @@ def testFlags(self): if FLAGS.testid == 1: self.assertEqual(FLAGS.test_random_seed, 301) - self.assert_(FLAGS.test_tmpdir.startswith('/')) - self.assert_(os.access(FLAGS.test_tmpdir, os.W_OK)) + self.assertTrue(FLAGS.test_tmpdir.startswith('/')) + self.assertTrue(os.access(FLAGS.test_tmpdir, os.W_OK)) elif FLAGS.testid == 2: self.assertEqual(FLAGS.test_random_seed, 321) self.assertEqual(FLAGS.test_srcdir, 'cba') @@ -311,14 +311,14 @@ # Ensure we use equality as the sole measure of elements, not type, since # that is consistent with dict equality. self.assertDictEqual({1: 1.0, 2: 2}, {1: 1, 2: 3}) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual('{1: 1.0, 2: 2} != {1: 1, 2: 3}\n' 'repr() of differing entries:\n2: 2 != 3\n', str(e)) try: self.assertDictEqual({}, {'x': 1}) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual("{} != {'x': 1}\n" "Unexpected, but present entries:\n'x': 1\n", str(e)) @@ -327,7 +327,7 @@ try: self.assertDictEqual({}, {'x': 1}, 'a message') - except AssertionError, e: + except AssertionError as e: self.assertIn('a message', str(e)) else: self.fail('Expecting AssertionError') @@ -336,7 +336,7 @@ seen = {'a': 2, 'c': 3, 'd': 4} try: self.assertDictEqual(expected, seen) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual("""\ {'a': 1, 'b': 2, 'c': 3} != {'a': 2, 'c': 3, 'd': 4} Unexpected, but present entries: @@ -369,19 +369,19 @@ self.assertDictEqual( {'a': Obj('A'), Obj('b'): Obj('B'), Obj('c'): Obj('C')}, {'a': Obj('A'), Obj('d'): Obj('D'), Obj('e'): Obj('E')}) - except AssertionError, e: + except AssertionError as e: # Do as best we can not to be misleading when objects have the same repr # but aren't equal. err_str = str(e) self.assertStartsWith(err_str, "{'a': A, b: B, c: C} != {'a': A, d: D, e: E}\n") - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^Unexpected, but present entries:\s+' r'^(d: D$\s+^e: E|e: E$\s+^d: D)$') - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^repr\(\) of differing entries:\s+' r'^.a.: A != A$', err_str) - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^Missing entries:\s+' r'^(b: B$\s+^c: C|c: C$\s+^b: B)$') else: @@ -404,7 +404,7 @@ # prefix or a basetest_test prefix, so strip that for comparison. error_msg = re.sub( r'( at 0x[^>]+)|__main__\.|basetest_test\.', '', str(e)) - self.assertRegexpMatches(error_msg, """(?m)\ + self.assertRegex(error_msg, """(?m)\ {<.*RaisesOnRepr object.*>: <.*RaisesOnRepr object.*>} != \ {<.*RaisesOnRepr object.*>: <.*RaisesOnRepr object.*>} Unexpected, but present entries: @@ -548,14 +548,14 @@ self.assertNotAlmostEqual(1.0000001, 1.0) def testAssertAlmostEqualsWithDelta(self): - self.assertAlmostEquals(3.14, 3, delta=0.2) - self.assertAlmostEquals(2.81, 3.14, delta=1) - self.assertAlmostEquals(-1, 1, delta=3) - self.assertRaises(AssertionError, self.assertAlmostEquals, + self.assertAlmostEqual(3.14, 3, delta=0.2) + self.assertAlmostEqual(2.81, 3.14, delta=1) + self.assertAlmostEqual(-1, 1, delta=3) + self.assertRaises(AssertionError, self.assertAlmostEqual, 3.14, 2.81, delta=0.1) - self.assertRaises(AssertionError, self.assertAlmostEquals, + self.assertRaises(AssertionError, self.assertAlmostEqual, 1, 2, delta=0.5) - self.assertNotAlmostEquals(3.14, 2.81, delta=0.1) + self.assertNotAlmostEqual(3.14, 2.81, delta=0.1) def testGetCommandString_listOfStringArgument(self): expected = "'command' 'arg-0'" @@ -567,7 +567,7 @@ def testGetCommandString_listOfUnicodeStringArgument(self): expected = "'command' 'arg-0'" - observed = basetest.GetCommandString([u'command', u'arg-0']) + observed = basetest.GetCommandString(['command', 'arg-0']) self.assertEqual(expected, observed) @@ -581,7 +581,7 @@ def testGetCommandString_unicodeStringArgument(self): expected = 'command arg-0' - observed = basetest.GetCommandString(u'command arg-0') + observed = basetest.GetCommandString('command arg-0') self.assertEqual(expected, observed) @@ -638,11 +638,11 @@ def testAssertRegexMatch_unicodeVsBytes(self): """Ensure proper utf-8 encoding or decoding happens automatically.""" - self.assertRegexMatch(u'str', [b'str']) - self.assertRegexMatch(b'str', [u'str']) + self.assertRegexMatch('str', [b'str']) + self.assertRegexMatch(b'str', ['str']) def testAssertRegexMatch_unicode(self): - self.assertRegexMatch(u'foo str', [u'str']) + self.assertRegexMatch('foo str', ['str']) def testAssertRegexMatch_bytes(self): self.assertRegexMatch(b'foo str', [b'str']) @@ -650,7 +650,7 @@ def testAssertRegexMatch_allTheSameType(self): self.assertRaisesWithRegexpMatch( AssertionError, 'regexes .* same type', - self.assertRegexMatch, 'foo str', [b'str', u'foo']) + self.assertRegexMatch, 'foo str', [b'str', 'foo']) def testAssertCommandFailsStderr(self): # TODO(user): Gross! These should use sys.executable instead of @@ -663,13 +663,13 @@ self.assertCommandFails(['false'], ['']) def testAssertCommandFailsWithListOfUnicodeString(self): - self.assertCommandFails([u'false'], ['']) + self.assertCommandFails(['false'], ['']) def testAssertCommandFailsWithUnicodeString(self): - self.assertCommandFails(u'false', [u'']) + self.assertCommandFails('false', ['']) def testAssertCommandFailsWithUnicodeStringBytesRegex(self): - self.assertCommandFails(u'false', [b'']) + self.assertCommandFails('false', [b'']) def testAssertCommandSucceedsStderr(self): expected_re = re.compile(r'(.|\n)*FAIL at -e line 1\.', re.MULTILINE) @@ -681,7 +681,7 @@ ['/usr/bin/perl', '-e', 'die "FAIL";']) def testAssertCommandSucceedsWithMatchingUnicodeRegexes(self): - self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=[u'SUCCESS']) + self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=['SUCCESS']) def testAssertCommandSucceedsWithMatchingBytesRegexes(self): self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=[b'SUCCESS']) @@ -700,10 +700,10 @@ self.assertCommandSucceeds(['true']) def testAssertCommandSucceedsWithListOfUnicodeString(self): - self.assertCommandSucceeds([u'true']) + self.assertCommandSucceeds(['true']) def testAssertCommandSucceedsWithUnicodeString(self): - self.assertCommandSucceeds(u'true') + self.assertCommandSucceeds('true') def testInequality(self): # Try ints @@ -749,44 +749,44 @@ self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') # Try Unicode - self.assertGreater(u'bug', u'ant') - self.assertGreaterEqual(u'bug', u'ant') - self.assertGreaterEqual(u'ant', u'ant') - self.assertLess(u'ant', u'bug') - self.assertLessEqual(u'ant', u'bug') - self.assertLessEqual(u'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreater, u'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreater, u'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreaterEqual, u'ant', u'bug') - self.assertRaises(AssertionError, self.assertLess, u'bug', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'ant', u'ant') - self.assertRaises(AssertionError, self.assertLessEqual, u'bug', u'ant') + self.assertGreater('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertLess('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') # Try Mixed String/Unicode - self.assertGreater('bug', u'ant') - self.assertGreater(u'bug', 'ant') - self.assertGreaterEqual('bug', u'ant') - self.assertGreaterEqual(u'bug', 'ant') - self.assertGreaterEqual('ant', u'ant') - self.assertGreaterEqual(u'ant', 'ant') - self.assertLess('ant', u'bug') - self.assertLess(u'ant', 'bug') - self.assertLessEqual('ant', u'bug') - self.assertLessEqual(u'ant', 'bug') - self.assertLessEqual('ant', u'ant') - self.assertLessEqual(u'ant', 'ant') - self.assertRaises(AssertionError, self.assertGreater, 'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreater, u'ant', 'bug') - self.assertRaises(AssertionError, self.assertGreater, 'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreater, u'ant', 'ant') - self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreaterEqual, u'ant', 'bug') - self.assertRaises(AssertionError, self.assertLess, 'bug', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'bug', 'ant') - self.assertRaises(AssertionError, self.assertLess, 'ant', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'ant', 'ant') - self.assertRaises(AssertionError, self.assertLessEqual, 'bug', u'ant') - self.assertRaises(AssertionError, self.assertLessEqual, u'bug', 'ant') + self.assertGreater('bug', 'ant') + self.assertGreater('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertLess('ant', 'bug') + self.assertLess('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'ant') + self.assertLessEqual('ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') def testAssertMultiLineEqual(self): sample_text = """\ @@ -812,8 +812,8 @@ + own implementation that does not subclass from TestCase, of course. """ - for type1 in (str, unicode): - for type2 in (str, unicode): + for type1 in (str, str): + for type2 in (str, str): self.assertRaisesWithLiteralMatch(AssertionError, sample_text_error, self.assertMultiLineEqual, type1(sample_text), @@ -887,12 +887,12 @@ self.assertRaises(AssertionError, self.assertBetween, -1e10000, -1e10, 0) def testAssertRaisesWithPredicateMatch_noRaiseFails(self): - with self.assertRaisesRegexp(AssertionError, '^Exception not raised$'): + with self.assertRaisesRegex(AssertionError, '^Exception not raised$'): self.assertRaisesWithPredicateMatch(Exception, lambda e: True, lambda: 1) # don't raise - with self.assertRaisesRegexp(AssertionError, '^Exception not raised$'): + with self.assertRaisesRegex(AssertionError, '^Exception not raised$'): with self.assertRaisesWithPredicateMatch(Exception, lambda e: True): pass # don't raise @@ -912,12 +912,12 @@ def testAssertRaisesWithPredicateMatch_predicateFails(self): def _RaiseValueError(): raise ValueError - with self.assertRaisesRegexp(AssertionError, ' does not match predicate '): + with self.assertRaisesRegex(AssertionError, ' does not match predicate '): self.assertRaisesWithPredicateMatch(ValueError, lambda e: False, _RaiseValueError) - with self.assertRaisesRegexp(AssertionError, ' does not match predicate '): + with self.assertRaisesRegex(AssertionError, ' does not match predicate '): with self.assertRaisesWithPredicateMatch(ValueError, lambda e: False): raise ValueError @@ -941,7 +941,7 @@ self.assertRaisesWithRegexpMatch(ExceptionMock, re.compile('expect$'), Stub) self.assertRaisesWithRegexpMatch(ExceptionMock, 'expect$', Stub) - self.assertRaisesWithRegexpMatch(ExceptionMock, u'expect$', Stub) + self.assertRaisesWithRegexpMatch(ExceptionMock, 'expect$', Stub) def testAssertNotRaisesWithRegexpMatch(self): self.assertRaisesWithRegexpMatch( @@ -953,7 +953,7 @@ self.assertRaisesWithRegexpMatch, Exception, 'x', lambda: None) self.assertRaisesWithRegexpMatch( AssertionError, '^Exception not raised', - self.assertRaisesWithRegexpMatch, Exception, u'x', lambda: None) + self.assertRaisesWithRegexpMatch, Exception, 'x', lambda: None) def testAssertRaisesWithRegexpMismatch(self): def Stub(): @@ -1106,14 +1106,14 @@ self.assertRaises(AssertionError, self.assertTotallyOrdered, [1, 2]) def testShortDescriptionWithoutDocstring(self): - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithoutDocstring ' '(%s.GoogleTestBaseUnitTest)' % __name__)) def testShortDescriptionWithOneLineDocstring(self): """Tests shortDescription() for a method with a docstring.""" - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithOneLineDocstring ' '(%s.GoogleTestBaseUnitTest)\n' @@ -1126,7 +1126,7 @@ returned used in the short description, no matter how long the whole thing is. """ - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithMultiLineDocstring ' '(%s.GoogleTestBaseUnitTest)\n' @@ -1136,7 +1136,7 @@ def testRecordedProperties(self): """Tests that a test can record a property and then retrieve it.""" self.recordProperty('test_property', 'test_value') - self.assertEquals(self.getRecordedProperties(), + self.assertEqual(self.getRecordedProperties(), {'test_property': 'test_value'}) def testAssertUrlEqualSame(self): @@ -1185,7 +1185,7 @@ self.assertSameStructure({}, {}) self.assertSameStructure({'one': 1}, {'one': 1}) # int and long should always be treated as the same type. - self.assertSameStructure({3L: 3}, {3: 3L}) + self.assertSameStructure({3: 3}, {3: 3}) def testSameStructure_different(self): # Different type @@ -1405,22 +1405,22 @@ # Compare two distinct objects self.assertFalse(i1 is i2) self.assertRaises(AssertionError, self.assertEqual, i1, i2) - self.assertRaises(AssertionError, self.assertEquals, i1, i2) - self.assertRaises(AssertionError, self.failUnlessEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) - self.assertRaises(AssertionError, self.assertNotEquals, i1, i2) - self.assertRaises(AssertionError, self.failIfEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) # A NeverEqual object should not compare equal to itself either. i2 = i1 self.assertTrue(i1 is i2) self.assertFalse(i1 == i2) self.assertFalse(i1 != i2) self.assertRaises(AssertionError, self.assertEqual, i1, i2) - self.assertRaises(AssertionError, self.assertEquals, i1, i2) - self.assertRaises(AssertionError, self.failUnlessEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) - self.assertRaises(AssertionError, self.assertNotERefactoringTool: No changes to ../python3/tests/app_test_helper.py RefactoringTool: No changes to ../python3/tests/app_test.py RefactoringTool: No changes to ../python3/tests/shellutil_unittest.py RefactoringTool: No changes to ../python3/tests/sh_test.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/google/__init__.py RefactoringTool: ../python3/google/apputils/stopwatch.py RefactoringTool: ../python3/google/apputils/shellutil.py RefactoringTool: ../python3/google/apputils/debug.py RefactoringTool: ../python3/google/apputils/resources.py RefactoringTool: ../python3/google/apputils/app.py RefactoringTool: ../python3/google/apputils/appcommands.py RefactoringTool: ../python3/google/apputils/file_util.py RefactoringTool: ../python3/google/apputils/__init__.py RefactoringTool: ../python3/google/apputils/datelib.py RefactoringTool: ../python3/google/apputils/basetest.py RefactoringTool: ../python3/google/apputils/run_script_module.py RefactoringTool: ../python3/google/apputils/humanize.py RefactoringTool: ../python3/google/apputils/setup_command.py RefactoringTool: ../python3/ez_setup.py RefactoringTool: ../python3/tests/resources_test.py RefactoringTool: ../python3/tests/appcommands_example.py RefactoringTool: ../python3/tests/datelib_unittest.py RefactoringTool: ../python3/tests/stopwatch_unittest.py RefactoringTool: ../python3/tests/humanize_test.py RefactoringTool: ../python3/tests/file_util_test.py RefactoringTool: ../python3/tests/basetest_test.py RefactoringTool: ../python3/tests/app_test_helper.py RefactoringTool: ../python3/tests/app_test.py RefactoringTool: ../python3/tests/shellutil_unittest.py RefactoringTool: ../python3/tests/sh_test.py quals, i1, i2) - self.assertRaises(AssertionError, self.failIfEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) def testAllComparisonsSucceed(self): a = self.AllSame() @@ -1429,11 +1429,11 @@ self.assertTrue(a == b) self.assertFalse(a != b) self.assertEqual(a, b) - self.assertEquals(a, b) - self.failUnlessEqual(a, b) + self.assertEqual(a, b) + self.assertEqual(a, b) self.assertRaises(AssertionError, self.assertNotEqual, a, b) - self.assertRaises(AssertionError, self.assertNotEquals, a, b) - self.assertRaises(AssertionError, self.failIfEqual, a, b) + self.assertRaises(AssertionError, self.assertNotEqual, a, b) + self.assertRaises(AssertionError, self.assertNotEqual, a, b) def _PerformAppleAppleOrangeChecks(self, same_a, same_b, different): """Perform consistency checks with two apples and an orange. @@ -1450,8 +1450,8 @@ self.assertTrue(same_a == same_b) self.assertFalse(same_a != same_b) self.assertEqual(same_a, same_b) - self.assertEquals(same_a, same_b) - self.failUnlessEqual(same_a, same_b) + self.assertEqual(same_a, same_b) + self.assertEqual(same_a, same_b) if PY_VERSION_2: # Python 3 removes the global cmp function self.assertEqual(0, cmp(same_a, same_b)) @@ -1459,16 +1459,16 @@ self.assertFalse(same_a == different) self.assertTrue(same_a != different) self.assertNotEqual(same_a, different) - self.assertNotEquals(same_a, different) - self.failIfEqual(same_a, different) + self.assertNotEqual(same_a, different) + self.assertNotEqual(same_a, different) if PY_VERSION_2: self.assertNotEqual(0, cmp(same_a, different)) self.assertFalse(same_b == different) self.assertTrue(same_b != different) self.assertNotEqual(same_b, different) - self.assertNotEquals(same_b, different) - self.failIfEqual(same_b, different) + self.assertNotEqual(same_b, different) + self.assertNotEqual(same_b, different) if PY_VERSION_2: self.assertNotEqual(0, cmp(same_b, different)) @@ -1566,7 +1566,7 @@ def __init__(self): # pylint: disable=super-init-not-called pass - Subclass().assertEquals({}, {}) + Subclass().assertEqual({}, {}) def testMultipleInheritance(self): @@ -1578,7 +1578,7 @@ class Subclass(Foo, basetest.TestCase): pass - Subclass().assertEquals({}, {}) + Subclass().assertEqual({}, {}) if __name__ == '__main__': + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.79123 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd google-apputils-0.4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/google copying google/__init__.py -> build/lib/google creating build/lib/google/apputils copying google/apputils/stopwatch.py -> build/lib/google/apputils copying google/apputils/shellutil.py -> build/lib/google/apputils copying google/apputils/debug.py -> build/lib/google/apputils copying google/apputils/resources.py -> build/lib/google/apputils copying google/apputils/app.py -> build/lib/google/apputils copying google/apputils/appcommands.py -> build/lib/google/apputils copying google/apputils/file_util.py -> build/lib/google/apputils copying google/apputils/__init__.py -> build/lib/google/apputils copying google/apputils/datelib.py -> build/lib/google/apputils copying google/apputils/basetest.py -> build/lib/google/apputils copying google/apputils/run_script_module.py -> build/lib/google/apputils copying google/apputils/humanize.py -> build/lib/google/apputils copying google/apputils/setup_command.py -> build/lib/google/apputils + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/google-apputils-0.4.2 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/google copying google/__init__.py -> build/lib/google creating build/lib/google/apputils copying google/apputils/stopwatch.py -> build/lib/google/apputils copying google/apputils/shellutil.py -> build/lib/google/apputils copying google/apputils/debug.py -> build/lib/google/apputils copying google/apputils/resources.py -> build/lib/google/apputils copying google/apputils/app.py -> build/lib/google/apputils copying google/apputils/appcommands.py -> build/lib/google/apputils copying google/apputils/file_util.py -> build/lib/google/apputils copying google/apputils/__init__.py -> build/lib/google/apputils copying google/apputils/datelib.py -> build/lib/google/apputils copying google/apputils/basetest.py -> build/lib/google/apputils copying google/apputils/run_script_module.py -> build/lib/google/apputils copying google/apputils/humanize.py -> build/lib/google/apputils copying google/apputils/setup_command.py -> build/lib/google/apputils + popd ~/RPM/BUILD/google-apputils-0.4.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.66969 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-google-apputils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-google-apputils-buildroot + cd google-apputils-0.4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-google-apputils-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py (namespace package) copying google/apputils/setup_command.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/humanize.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/run_script_module.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/basetest.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/datelib.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/__init__.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/file_util.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/appcommands.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/app.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/resources.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/debug.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/shellutil.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/stopwatch.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py to setup_command.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/humanize.py to humanize.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py to run_script_module.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py to basetest.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.py to datelib.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py to file_util.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.py to appcommands.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py to app.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/resources.py to resources.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py to debug.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/shellutil.py to shellutil.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/stopwatch.py to stopwatch.pyc running install_egg_info running egg_info writing requirements to google_apputils.egg-info/requires.txt writing google_apputils.egg-info/PKG-INFO writing namespace_packages to google_apputils.egg-info/namespace_packages.txt writing top-level names to google_apputils.egg-info/top_level.txt writing dependency_links to google_apputils.egg-info/dependency_links.txt writing entry points to google_apputils.egg-info/entry_points.txt reading manifest file 'google_apputils.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'google_apputils.egg-info/SOURCES.txt' Copying google_apputils.egg-info to /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg-info Installing /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7-nspkg.pth running install_scripts + install -p -m644 google/__init__.py /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/ + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/google-apputils-0.4.2 + 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-google-apputils-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py (namespace package) copying google/apputils/setup_command.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/humanize.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/run_script_module.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/basetest.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/datelib.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/__init__.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/file_util.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/appcommands.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/app.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/resources.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/debug.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/shellutil.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils copying google/apputils/stopwatch.py -> /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py to setup_command.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/humanize.py to humanize.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py to run_script_module.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py to basetest.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py to datelib.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py to file_util.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py to appcommands.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py to app.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py to resources.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py to debug.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/shellutil.py to shellutil.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py to stopwatch.cpython-36.pyc running install_egg_info running egg_info writing google_apputils.egg-info/PKG-INFO writing dependency_links to google_apputils.egg-info/dependency_links.txt writing entry points to google_apputils.egg-info/entry_points.txt writing namespace_packages to google_apputils.egg-info/namespace_packages.txt writing requirements to google_apputils.egg-info/requires.txt writing top-level names to google_apputils.egg-info/top_level.txt reading manifest file 'google_apputils.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'google_apputils.egg-info/SOURCES.txt' Copying google_apputils.egg-info to /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info Installing /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6-nspkg.pth running install_scripts + install -p -m644 google/__init__.py /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/ + popd ~/RPM/BUILD/google-apputils-0.4.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-google-apputils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-google-apputils-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-google-apputils-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-google-apputils-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-google-apputils-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-google-apputils-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-google-apputils-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/humanize.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/resources.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/shellutil.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/stopwatch.pyc compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/humanize.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/resources.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/shellutil.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/stopwatch.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-google-apputils-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/humanize.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/resources.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/shellutil.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/stopwatch.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-google-apputils-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.pyc unlink /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.pyc compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/humanize.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/shellutil.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-google-apputils-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/humanize.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/shellutil.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-google-apputils-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/humanize.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/shellutil.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py compile /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/google/__init__.pyo' => './usr/lib/python2.7/site-packages/google/__init__.pyc' './usr/lib/python2.7/site-packages/google/apputils/stopwatch.pyo' => './usr/lib/python2.7/site-packages/google/apputils/stopwatch.pyc' './usr/lib/python2.7/site-packages/google/apputils/shellutil.pyo' => './usr/lib/python2.7/site-packages/google/apputils/shellutil.pyc' './usr/lib/python2.7/site-packages/google/apputils/setup_command.pyo' => './usr/lib/python2.7/site-packages/google/apputils/setup_command.pyc' './usr/lib/python2.7/site-packages/google/apputils/resources.pyo' => './usr/lib/python2.7/site-packages/google/apputils/resources.pyc' './usr/lib/python2.7/site-packages/google/apputils/humanize.pyo' => './usr/lib/python2.7/site-packages/google/apputils/humanize.pyc' './usr/lib/python2.7/site-packages/google/apputils/file_util.pyo' => './usr/lib/python2.7/site-packages/google/apputils/file_util.pyc' './usr/lib/python2.7/site-packages/google/apputils/debug.pyo' => './usr/lib/python2.7/site-packages/google/apputils/debug.pyc' './usr/lib/python2.7/site-packages/google/apputils/datelib.pyo' => './usr/lib/python2.7/site-packages/google/apputils/datelib.pyc' './usr/lib/python2.7/site-packages/google/apputils/__init__.pyo' => './usr/lib/python2.7/site-packages/google/apputils/__init__.pyc' Processing files: python-module-google-apputils-0.4.2-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.30192 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd google-apputils-0.4.2 + DOCDIR=/usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + /bin/mkdir -p /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + cp -prL LICENSE README /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + chmod -R go-w /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + chmod -R a+rX /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python-module-google-apputils-0.4.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.coZAN7 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.Yu3gzD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py: line=3 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py: skipping errno python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py: line=207 IGNORE (for REQ=slight and deep=20) module=atexit /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py: line=209 IGNORE (for REQ=slight and deep=24) module=cProfile /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py: line=211 IGNORE (for REQ=slight and deep=24) module=profile python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.py: skipping sys python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py: skipping signal python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py: line=40 IGNORE (for REQ=slight and deep=8) module=faulthandler python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.py: skipping sys python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py: line=49 IGNORE (for REQ=slight and deep=12) module=traceback /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py: line=50 IGNORE (for REQ=slight and deep=12) module=pdb python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py: skipping errno python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py: skipping pwd python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py: skipping sys python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py: skipping imp python.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py: line=129 IGNORE (for REQ=slight and deep=11) module=basetest shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/app.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/appcommands.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/basetest.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/datelib.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/debug.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/file_util.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/humanize.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/resources.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/setup_command.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/shellutil.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/apputils/stopwatch.py is not executable Provides: python2.7(google.apputils), python2.7(google.apputils.app), python2.7(google.apputils.appcommands), python2.7(google.apputils.basetest), python2.7(google.apputils.datelib), python2.7(google.apputils.debug), python2.7(google.apputils.file_util), python2.7(google.apputils.humanize), python2.7(google.apputils.resources), python2.7(google.apputils.run_script_module), python2.7(google.apputils.setup_command), python2.7(google.apputils.shellutil), python2.7(google.apputils.stopwatch) Requires: python-module-google = 0.4.2-alt2.1, /usr/lib/python2.7/site-packages, python-modules, python2.7(dateutil), python2.7(distutils), python2.7(gflags), python2.7(google), python2.7(json), python2.7(pkg_resources), python2.7(pytz), python2.7(setuptools), python2.7(unittest) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QnfnSD Processing files: python-module-google-0.4.2-alt2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xWVUjk 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.YPpqQw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py: line=3 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python2.7/site-packages/google/__init__.py is not executable Provides: python2.7(google) Requires: /usr/lib/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wMrL8s Processing files: python3-module-google-apputils-0.4.2-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.75815 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd google-apputils-0.4.2 + DOCDIR=/usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + /bin/mkdir -p /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + cp -prL LICENSE README /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + chmod -R go-w /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + chmod -R a+rX /usr/src/tmp/python-module-google-apputils-buildroot/usr/share/doc/python3-module-google-apputils-0.4.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tOgfqt 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.RdrFVf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py: line=3 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: skipping errno python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: skipping sys python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: line=207 IGNORE (for REQ=slight and deep=20) module=atexit /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: line=209 IGNORE (for REQ=slight and deep=24) module=cProfile /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py: line=211 IGNORE (for REQ=slight and deep=24) module=profile python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py: skipping sys python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py: skipping itertools python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py: line=40 IGNORE (for REQ=slight and deep=8) module=faulthandler python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py: skipping sys python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py: skipping time python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py: line=49 IGNORE (for REQ=slight and deep=12) module=traceback /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py: line=50 IGNORE (for REQ=slight and deep=12) module=pdb python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py: skipping errno python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py: skipping pwd python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py: skipping atexit python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py: skipping sys python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py: line=129 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py: skipping time shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/app.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/appcommands.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/basetest.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/datelib.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/debug.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/file_util.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/humanize.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/resources.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/run_script_module.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/setup_command.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/shellutil.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/apputils/stopwatch.py is not executable Provides: python3(google.apputils), python3(google.apputils.app), python3(google.apputils.appcommands), python3(google.apputils.basetest), python3(google.apputils.datelib), python3(google.apputils.debug), python3(google.apputils.file_util), python3(google.apputils.humanize), python3(google.apputils.resources), python3(google.apputils.run_script_module), python3(google.apputils.setup_command), python3(google.apputils.shellutil), python3(google.apputils.stopwatch) Requires: python3-module-google = 0.4.2-alt2.1, /usr/lib/python3/site-packages, python3(calendar) < 0, python3(collections) < 0, python3(contextlib) < 0, python3(copy) < 0, python3(datetime) < 0, python3(dateutil.parser) < 0, python3(difflib) < 0, python3(distutils) < 0, python3(getpass) < 0, python3(gflags) < 0, python3(imp) < 0, python3(io) < 0, python3(json) < 0, python3(math) < 0, python3(os) < 0, python3(pdb) < 0, python3(pkg_resources) < 0, python3(pytz) < 0, python3(re) < 0, python3(setuptools.command) < 0, python3(shlex) < 0, python3(shutil) < 0, python3(signal) < 0, python3(socket) < 0, python3(stat) < 0, python3(struct) < 0, python3(subprocess) < 0, python3(tempfile) < 0, python3(traceback) < 0, python3(types) < 0, python3(unittest) < 0, python3(urllib.parse) < 0, python3(warnings) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UDkpyC Processing files: python3-module-google-0.4.2-alt2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WcJYOH 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.sKtvYl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py: line=3 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil shebang.req.files: executable script /usr/src/tmp/python-module-google-apputils-buildroot/usr/lib/python3/site-packages/google/__init__.py is not executable Provides: python3(google) Requires: /usr/lib/python3/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4bAp0x Removing 1 extra deps from python-module-google-apputils due to dependency on python-module-google Removing 1 extra deps from python-module-google-apputils due to repentancy on python-module-google Removing 1 extra deps from python3-module-google-apputils due to repentancy on python3-module-google Wrote: /usr/src/RPM/RPMS/i586/python-module-google-apputils-0.4.2-alt2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-google-0.4.2-alt2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-google-apputils-0.4.2-alt2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-google-0.4.2-alt2.1.i586.rpm 23.30user 1.18system 0:34.91elapsed 70%CPU (0avgtext+0avgdata 30000maxresident)k 0inputs+0outputs (0major+383858minor)pagefaults 0swaps 36.81user 4.42system 0:53.85elapsed 76%CPU (0avgtext+0avgdata 122452maxresident)k 0inputs+0outputs (0major+950909minor)pagefaults 0swaps --- python3-module-google-0.4.2-alt2.1.i586.rpm.repo 2018-02-04 08:35:45.000000000 +0000 +++ python3-module-google-0.4.2-alt2.1.i586.rpm.hasher 2018-12-11 07:30:11.298835616 +0000 @@ -1,5 +1,5 @@ /usr/lib/python3/site-packages/google/__init__.py 100644 -/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/__pycache__/__init__.cpython-36.pyc 100644 Requires: /usr/lib/python3/site-packages @@ -7,3 +7,2 @@ Provides: python3(google) -Provides: python3.3(google) Provides: python3-module-google = 0.4.2-alt2.1 --- python3-module-google-apputils-0.4.2-alt2.1.i586.rpm.repo 2018-02-04 08:35:45.000000000 +0000 +++ python3-module-google-apputils-0.4.2-alt2.1.i586.rpm.hasher 2018-12-11 07:30:11.314835598 +0000 @@ -5,41 +5,41 @@ /usr/lib/python3/site-packages/google/apputils/__pycache__ 40755 -/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/__init__.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/app.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/appcommands.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/basetest.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/datelib.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/debug.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/file_util.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/humanize.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/resources.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/run_script_module.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/setup_command.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/shellutil.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/google/apputils/__pycache__/stopwatch.cpython-36.pyc 100644 /usr/lib/python3/site-packages/google/apputils/app.py 100644 @@ -56,11 +56,11 @@ /usr/lib/python3/site-packages/google/apputils/stopwatch.py 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5-nspkg.pth 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info 40755 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/namespace_packages.txt 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.5.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6-nspkg.pth 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info 40755 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/namespace_packages.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/google_apputils-0.4.2-py3.6.egg-info/top_level.txt 100644 /usr/share/doc/python3-module-google-apputils-0.4.2 40755 @@ -104,3 +104,2 @@ Provides: python3(google.apputils) -Provides: python3.3(google.apputils) Provides: python3(google.apputils.app) @@ -117,14 +116,2 @@ Provides: python3(google.apputils.stopwatch) -Provides: python3.3(google.apputils.app) -Provides: python3.3(google.apputils.appcommands) -Provides: python3.3(google.apputils.basetest) -Provides: python3.3(google.apputils.datelib) -Provides: python3.3(google.apputils.debug) -Provides: python3.3(google.apputils.file_util) -Provides: python3.3(google.apputils.humanize) -Provides: python3.3(google.apputils.resources) -Provides: python3.3(google.apputils.run_script_module) -Provides: python3.3(google.apputils.setup_command) -Provides: python3.3(google.apputils.shellutil) -Provides: python3.3(google.apputils.stopwatch) Provides: python3-module-google-apputils = 0.4.2-alt2.1