<86>Nov 14 08:17:23 userdel[127014]: delete user 'rooter' <86>Nov 14 08:17:23 userdel[127014]: removed group 'rooter' owned by 'rooter' <86>Nov 14 08:17:23 userdel[127014]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 14 08:17:23 groupadd[127042]: group added to /etc/group: name=rooter, GID=624 <86>Nov 14 08:17:23 groupadd[127042]: group added to /etc/gshadow: name=rooter <86>Nov 14 08:17:23 groupadd[127042]: new group: name=rooter, GID=624 <86>Nov 14 08:17:23 useradd[127076]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Nov 14 08:17:23 userdel[127124]: delete user 'builder' <86>Nov 14 08:17:23 userdel[127124]: removed group 'builder' owned by 'builder' <86>Nov 14 08:17:23 userdel[127124]: removed shadow group 'builder' owned by 'builder' <86>Nov 14 08:17:23 groupadd[127162]: group added to /etc/group: name=builder, GID=625 <86>Nov 14 08:17:23 groupadd[127162]: group added to /etc/gshadow: name=builder <86>Nov 14 08:17:23 groupadd[127162]: new group: name=builder, GID=625 <86>Nov 14 08:17:23 useradd[127173]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash <13>Nov 14 08:17:25 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Nov 14 08:17:25 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Nov 14 08:17:25 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Nov 14 08:17:25 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Nov 14 08:17:25 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 14 08:17:25 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 14 08:17:25 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Nov 14 08:17:25 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 14 08:17:25 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Nov 14 08:17:25 rpmi: libcrypto1.1-1.1.0i-alt1 1535471315 installed <13>Nov 14 08:17:25 rpmi: libssl1.1-1.1.0i-alt1 1535471315 installed <13>Nov 14 08:17:25 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Nov 14 08:17:25 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Nov 14 08:17:25 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Nov 14 08:17:26 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Nov 14 08:17:26 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Nov 14 08:17:30 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Nov 14 08:17:30 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Nov 14 08:17:30 rpmi: python-modules-curses-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Nov 14 08:17:30 rpmi: libkeyutils-1.5.10-alt1 1489994063 installed <13>Nov 14 08:17:30 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <86>Nov 14 08:17:30 groupadd[34296]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 14 08:17:30 groupadd[34296]: group added to /etc/gshadow: name=_keytab <86>Nov 14 08:17:30 groupadd[34296]: new group: name=_keytab, GID=499 <13>Nov 14 08:17:30 rpmi: libkrb5-1.16.2-alt1 sisyphus.216047.100 1541159177 installed <13>Nov 14 08:17:30 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Nov 14 08:17:30 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Nov 14 08:17:30 rpmi: python-modules-email-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-unittest-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-nis-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-encodings-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-compiler-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-xml-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-hotshot-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-bsddb-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-ctypes-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-multiprocessing-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-logging-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-modules-distutils-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Nov 14 08:17:30 rpmi: python-dev-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 14 08:17:30 rpmi: python-tools-2to3-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2.nosrc.rpm <13>Nov 14 08:17:34 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 14 08:17:34 rpmi: python3-dev-3.6.5-alt1.1 1535734576 installed <13>Nov 14 08:17:34 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 14 08:17:34 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 14 08:17:34 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed Installing python-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56835 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf SQLObject-2.0.0 + echo 'Source #0 (SQLObject-2.0.0.tar):' Source #0 (SQLObject-2.0.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/SQLObject-2.0.0.tar + cd SQLObject-2.0.0 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3-module-SQLObject-2.0.0 + cp -a . ../python3-module-SQLObject-2.0.0 + pushd ../python3-module-SQLObject-2.0.0 ~/RPM/BUILD/python3-module-SQLObject-2.0.0 ~/RPM/BUILD/SQLObject-2.0.0 + find ./ -name '*.py' -print0 + xargs -0i 2to3 -w '{}' RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/wsgi_middleware.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/wsgi_middleware.py --- ./sqlobject/wsgi_middleware.py (original) +++ ./sqlobject/wsgi_middleware.py (refactored) @@ -37,11 +37,11 @@ if not database: raise ValueError( "You must provide a 'database' configuration value") - if isinstance(hub, basestring): + if isinstance(hub, str): hub = import_string.eval_import(hub) if not hub: hub = sqlobject.sqlhub - if isinstance(database, basestring): + if isinstance(database, str): database = sqlobject.connectionForURI(database) return SQLObjectMiddleware(app, database, use_transaction, hub) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/views.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/views.py --- ./sqlobject/views.py (original) +++ ./sqlobject/views.py (refactored) @@ -1,5 +1,5 @@ -from sqlbuilder import * -from main import SQLObject, sqlmeta +from .sqlbuilder import * +from .main import SQLObject, sqlmeta import types, threading #### @@ -55,7 +55,7 @@ columns = [ColumnAS(cls.sqlmeta.idName, 'id')] # {sqlrepr-key: [restriction, *aggregate-column]} aggregates = {'':[None]} - inverseColumns = dict([(y,x) for x,y in cls.sqlmeta.columns.iteritems()]) + inverseColumns = dict([(y,x) for x,y in cls.sqlmeta.columns.items()]) for col in cls.sqlmeta.columnList: n = inverseColumns[col] ascol = ColumnAS(col.dbName, n) @@ -79,7 +79,7 @@ join=metajoin, clause=clause) - aggregates = aggregates.values() + aggregates = list(aggregates.values()) #print cls.__name__, sqlrepr(aggregates, dbName) if aggregates != [[None]]: @@ -121,7 +121,7 @@ cls.sqlmeta.table = Alias(select, alias) cls.q = ViewSQLObjectTable(cls) - for n,col in cls.sqlmeta.columns.iteritems(): + for n,col in cls.sqlmeta.columns.items(): col.dbName = n def isAggregate(expr): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/versioning/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/versioning/__init__.py --- ./sqlobject/versioning/__init__.py (original) +++ ./sqlobject/versioning/__init__.py (refactored) @@ -42,7 +42,7 @@ return getattr(self.master, attr) def getColumns(columns, cls): - for column, defi in cls.sqlmeta.columnDefinitions.items(): + for column, defi in list(cls.sqlmeta.columnDefinitions.items()): if column.endswith("ID") and isinstance(defi, ForeignKey): column = column[:-2] 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 ./sqlobject/util/threadinglocal.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/util/threadinglocal.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/util/moduleloader.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/util/moduleloader.py --- ./sqlobject/util/moduleloader.py (original) +++ ./sqlobject/util/moduleloader.py (refactored) @@ -15,7 +15,7 @@ if not os.path.exists(init_filename): try: f = open(init_filename, 'w') - except (OSError, IOError), e: + except (OSError, IOError) as e: raise IOError( 'Cannot write __init__.py file into directory %s (%s)\n' % (os.path.dirname(filename), e)) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/util/csvimport.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/util/csvimport.py --- ./sqlobject/util/csvimport.py (original) +++ ./sqlobject/util/csvimport.py (refactored) @@ -84,7 +84,7 @@ ``soClasses`` function, then that will be used for the order. """ objects = {} - classnames = data.keys() + classnames = list(data.keys()) if (not keyorder and isinstance(class_getter, types.ModuleType) and hasattr(class_getter, 'soClasses')): keyorder = [c.__name__ for c in class_getter.soClasses] @@ -107,7 +107,7 @@ else: soClass = class_getter(classname) for item in items: - for key, value in item.items(): + for key, value in list(item.items()): if isinstance(value, Reference): resolved = objects.get(value.name) if not resolved: @@ -158,7 +158,7 @@ default_class=base, allow_multiple_classes=allow_multiple_classes) f.close() - for classname, items in data.items(): + for classname, items in list(data.items()): results.setdefault(classname, []).extend(items) return results @@ -258,7 +258,7 @@ if type not in _coercers: raise ValueError( "Coercion type %r not known (I know: %s)" - % (type, ', '.join(_coercers.keys()))) + % (type, ', '.join(list(_coercers.keys())))) return _coercers[type] def register_coercer(type, coercer, *args): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/util/csvexport.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/util/csvexport.py --- ./sqlobject/util/csvexport.py (original) +++ ./sqlobject/util/csvexport.py (refactored) @@ -4,9 +4,9 @@ import os import csv try: - from cStringIO import StringIO + from io import StringIO except ImportError: - from StringIO import StringIO + from io import StringIO import sqlobject __all__ = ['export_csv', 'export_csv_zip'] @@ -153,7 +153,7 @@ close_zip_when_finished = True return_when_finished = False if file: - if isinstance(file, basestring): + if isinstance(file, str): close_when_finished = True file = open(file, 'wb') elif zip: RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No files need to be modified. 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 ./sqlobject/sybase/sybaseconnection.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/sybase/sybaseconnection.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/sybase/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/sybase/__init__.py --- ./sqlobject/sybase/__init__.py (original) +++ ./sqlobject/sybase/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import sybaseconnection + from . import sybaseconnection return sybaseconnection.SybaseConnection registerConnection(['sybase'], builder) 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 ./sqlobject/styles.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/styles.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/sresults.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/sresults.py --- ./sqlobject/sresults.py (original) +++ ./sqlobject/sresults.py (refactored) @@ -1,7 +1,7 @@ -import dbconnection -import joins -import main -import sqlbuilder +from . import dbconnection +from . import joins +from . import main +from . import sqlbuilder __all__ = ['SelectResults'] @@ -21,7 +21,7 @@ ops['orderBy'] = sourceClass.sqlmeta.defaultOrder orderBy = ops['orderBy'] if isinstance(orderBy, (tuple, list)): - orderBy = map(self._mungeOrderBy, orderBy) + orderBy = list(map(self._mungeOrderBy, orderBy)) else: orderBy = self._mungeOrderBy(orderBy) ops['dbOrderBy'] = orderBy @@ -67,12 +67,12 @@ return conn.queryForSelect(self) def _mungeOrderBy(self, orderBy): - if isinstance(orderBy, basestring) and orderBy.startswith('-'): + if isinstance(orderBy, str) and orderBy.startswith('-'): orderBy = orderBy[1:] desc = True else: desc = False - if isinstance(orderBy, basestring): + if isinstance(orderBy, str): if orderBy in self.sourceClass.sqlmeta.columns: val = getattr(self.sourceClass.q, self.sourceClass.sqlmeta.columns[orderBy].name) if desc: @@ -121,7 +121,7 @@ # None doesn't filter anything, it's just a no-op: return self clause = self.clause - if isinstance(clause, basestring): + if isinstance(clause, str): clause = sqlbuilder.SQLConstant('(%s)' % clause) return self.newClause(sqlbuilder.AND(clause, filter_clause)) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/sqlite/sqliteconnection.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/sqlite/sqliteconnection.py --- ./sqlobject/sqlite/sqliteconnection.py (original) +++ ./sqlobject/sqlite/sqliteconnection.py (refactored) @@ -1,7 +1,7 @@ import base64 import os -import thread -import urllib +import _thread +import urllib.request, urllib.parse, urllib.error from sqlobject.dbconnection import DBAPI, Boolean from sqlobject import col, sqlbuilder from sqlobject.dberrors import * @@ -121,7 +121,7 @@ path = "//" + path else: path = "///" + path - path = urllib.quote(path) + path = urllib.parse.quote(path) return 'sqlite:%s' % path def getConnection(self): @@ -133,7 +133,7 @@ self._connectionNumbers[id(conn)] = self._connectionCount self._connectionCount += 1 return conn - threadid = thread.get_ident() + threadid = _thread.get_ident() if (self._pool is not None and threadid in self._threadPool): conn = self._threadPool[threadid] @@ -206,30 +206,30 @@ self.printDebug(conn, query, 'QueryR') try: return cursor.execute(query) - except self.module.OperationalError, e: + except self.module.OperationalError as e: raise OperationalError(ErrorMessage(e)) - except self.module.IntegrityError, e: + except self.module.IntegrityError as e: msg = ErrorMessage(e) if msg.startswith('column') and msg.endswith('not unique') \ or msg.startswith('UNIQUE constraint failed:'): raise DuplicateEntryError(msg) else: raise IntegrityError(msg) - except self.module.InternalError, e: + except self.module.InternalError as e: raise InternalError(ErrorMessage(e)) - except self.module.ProgrammingError, e: + except self.module.ProgrammingError as e: raise ProgrammingError(ErrorMessage(e)) - except self.module.DataError, e: + except self.module.DataError as e: raise DataError(ErrorMessage(e)) - except self.module.NotSupportedError, e: + except self.module.NotSupportedError as e: raise NotSupportedError(ErrorMessage(e)) - except self.module.DatabaseError, e: + except self.module.DatabaseError as e: raise DatabaseError(ErrorMessage(e)) - except self.module.InterfaceError, e: + except self.module.InterfaceError as e: raise InterfaceError(ErrorMessage(e)) - except self.module.Warning, e: + except self.module.Warning as e: raise Warning(ErrorMessage(e)) - except self.module.Error, e: + except self.module.Error as e: raise Error(ErrorMessage(e)) def _queryInsertID(self, conn, soInstance, id, names, values): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/sqlite/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/sqlite/__init__.py --- ./sqlobject/sqlite/__init__.py (original) +++ ./sqlobject/sqlite/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import sqliteconnection + from . import sqliteconnection return sqliteconnection.SQLiteConnection registerConnection(['sqlite'], builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/sqlbuilder.py --- ./sqlobject/sqlbuilder.py (original) +++ ./sqlobject/sqlbuilder.py (refactored) @@ -67,8 +67,8 @@ import types import weakref -import classregistry -from converters import registerConverter, sqlrepr, quote_str, unquote_str +from . import classregistry +from .converters import registerConverter, sqlrepr, quote_str, unquote_str class VersionError(Exception): @@ -86,7 +86,7 @@ safeSQLRE = re.compile(r'^[a-zA-Z_][a-zA-Z0-9_\.]*$') def sqlIdentifier(obj): # some db drivers return unicode column names - return isinstance(obj, basestring) and bool(safeSQLRE.search(obj.strip())) + return isinstance(obj, str) and bool(safeSQLRE.search(obj.strip())) def execute(expr, executor): @@ -97,7 +97,7 @@ def _str_or_sqlrepr(expr, db): - if isinstance(expr, basestring): + if isinstance(expr, str): return expr return sqlrepr(expr, db) @@ -181,9 +181,9 @@ return repr(self) def __cmp__(self, other): - raise VersionError, "Python 2.1+ required" + raise VersionError("Python 2.1+ required") def __rcmp__(self, other): - raise VersionError, "Python 2.1+ required" + raise VersionError("Python 2.1+ required") def startswith(self, s): return STARTSWITH(self, s) @@ -287,7 +287,7 @@ def components(self): return [self.expr] + list(self.args) def execute(self, executor): - raise ValueError, "I don't yet know how to locally execute functions" + raise ValueError("I don't yet know how to locally execute functions") registerConverter(SQLCall, SQLExprConverter) @@ -316,7 +316,7 @@ def __sqlrepr__(self, db): return self.const def execute(self, executor): - raise ValueError, "I don't yet know how to execute SQL constants" + raise ValueError("I don't yet know how to execute SQL constants") registerConverter(SQLConstant, SQLExprConverter) @@ -391,7 +391,7 @@ def __sqlrepr__(self, db): return _str_or_sqlrepr(self.tableName, db) def execute(self, executor): - raise ValueError, "Tables don't have values" + raise ValueError("Tables don't have values") class SQLObjectTable(Table): FieldClass = SQLObjectField @@ -411,7 +411,7 @@ elif attr in self.soClass.sqlmeta.columns: column = self.soClass.sqlmeta.columns[attr] return self._getattrFromColumn(column, attr) - elif attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]: + elif attr+'ID' in [k for (k, v) in list(self.soClass.sqlmeta.columns.items()) if v.foreignKey]: attr += 'ID' column = self.soClass.sqlmeta.columns[attr] return self._getattrFromColumn(column, attr) @@ -427,7 +427,7 @@ class SQLObjectTableWithJoins(SQLObjectTable): def __getattr__(self, attr): - if attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]: + if attr+'ID' in [k for (k, v) in list(self.soClass.sqlmeta.columns.items()) if v.foreignKey]: column = self.soClass.sqlmeta.columns[attr+'ID'] return self._getattrFromForeignKey(column, attr) elif attr in [x.joinMethodName for x in self.soClass.sqlmeta.joins]: @@ -616,7 +616,7 @@ # None doesn't filter anything, it's just a no-op: return self clause = self.ops['clause'] - if isinstance(clause, basestring): + if isinstance(clause, str): clause = SQLConstant('(%s)' % clause) return self.newClause(AND(clause, filter_clause)) @@ -697,7 +697,7 @@ if self.ops['limit'] is not NoDefault: end = start + self.ops['limit'] if start or end: - from dbconnection import dbConnectionForScheme + from .dbconnection import dbConnectionForScheme select = dbConnectionForScheme(db)._queryAddLimitOffset(select, start, end) if self.ops['forUpdate']: select += " FOR UPDATE" @@ -711,7 +711,7 @@ self.table = table if valueList: if values: - raise TypeError, "You may only give valueList *or* values" + raise TypeError("You may only give valueList *or* values") self.valueList = valueList else: self.valueList = [values] @@ -722,7 +722,7 @@ allowNonDict = True template = self.template if (template is NoDefault) and isinstance(self.valueList[0], dict): - template = self.valueList[0].keys() + template = list(self.valueList[0].keys()) allowNonDict = False if template is not NoDefault: insert += " (%s)" % ", ".join(template) @@ -732,10 +732,10 @@ for value in self.valueList: if isinstance(value, dict): if template is NoDefault: - raise TypeError, "You can't mix non-dictionaries with dictionaries in an INSERT if you don't provide a template (%s)" % repr(value) + raise TypeError("You can't mix non-dictionaries with dictionaries in an INSERT if you don't provide a template (%s)" % repr(value)) value = dictToList(template, value) elif not allowNonDict: - raise TypeError, "You can't mix non-dictionaries with dictionaries in an INSERT if you don't provide a template (%s)" % repr(value) + raise TypeError("You can't mix non-dictionaries with dictionaries in an INSERT if you don't provide a template (%s)" % repr(value)) listToJoin_app("(%s)" % ", ".join([sqlrepr(v, db) for v in value])) insert = "%s%s" % (insert, ", ".join(listToJoin)) return insert @@ -746,8 +746,8 @@ list = [] for key in template: list.append(dict[key]) - if len(dict.keys()) > len(template): - raise TypeError, "Extra entries in dictionary that aren't asked for in template (template=%s, dict=%s)" % (repr(template), repr(dict)) + if len(list(dict.keys())) > len(template): + raise TypeError("Extra entries in dictionary that aren't asked for in template (template=%s, dict=%s)" % (repr(template), repr(dict))) return list class Update(SQLExpression): @@ -768,7 +768,7 @@ update += "," update += " %s=%s" % (self.template[i], sqlrepr(self.values[i], db)) else: - for key, value in self.values.items(): + for key, value in list(self.values.items()): if first: first = False else: @@ -788,7 +788,7 @@ def __init__(self, table, where=NoDefault): self.table = table if where is NoDefault: - raise TypeError, "You must give a where clause or pass in None to indicate no where clause" + raise TypeError("You must give a where clause or pass in None to indicate no where clause") self.whereClause = where def __sqlrepr__(self, db): whereClause = self.whereClause @@ -846,7 +846,7 @@ return SQLOp("IN", item, list) def IN(item, list): - from sresults import SelectResults # Import here to avoid circular import + from .sresults import SelectResults # Import here to avoid circular import if isinstance(list, SelectResults): query = list.queryForSelect() query.ops['items'] = [list.sourceClass.q.id] @@ -880,7 +880,7 @@ class ColumnAS(SQLOp): ''' Just like SQLOp('AS', expr, name) except without the parentheses ''' def __init__(self, expr, name): - if isinstance(name, basestring): + if isinstance(name, str): name = SQLConstant(name) SQLOp.__init__(self, 'AS', expr, name) def __sqlrepr__(self, db): @@ -919,11 +919,11 @@ return "CONCAT(%s)" % ", ".join(values) else: return " || ".join(values) - elif isinstance(s, basestring): + elif isinstance(s, str): s = _quote_like_special(unquote_str(sqlrepr(s, db)), db) return quote_str("%s%s%s" % (self.prefix, s, self.postfix), db) else: - RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/sqlbuilder.py raise TypeError, "expected str, unicode or SQLExpression, got %s" % type(s) + raise TypeError("expected str, unicode or SQLExpression, got %s" % type(s)) def _quote_like_special(s, db): if db in ('postgres', 'rdbhost'): @@ -1021,9 +1021,9 @@ (Table1.q.col1, Table2.q.col2) """ if not on_condition and not using_columns: - raise TypeError, "You must give ON condition or USING columns" + raise TypeError("You must give ON condition or USING columns") if on_condition and using_columns: - raise TypeError, "You must give ON condition or USING columns but not both" + raise TypeError("You must give ON condition or USING columns but not both") SQLJoin.__init__(self, table1, table2, op) self.on_condition = on_condition self.using_columns = using_columns @@ -1254,7 +1254,7 @@ self.soClass = None classregistry.registry(registry).addClassCallback(clsName, lambda foreign, me: setattr(me, 'soClass', foreign), self) - def __nonzero__(self): + def __bool__(self): return True def __getattr__(self, attr): 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 ./sqlobject/rdbhost/rdbhostconnection.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/rdbhost/rdbhostconnection.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/rdbhost/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/rdbhost/__init__.py --- ./sqlobject/rdbhost/__init__.py (original) +++ ./sqlobject/rdbhost/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import rdbhostconnection + from . import rdbhostconnection return rdbhostconnection.RdbhostConnection registerConnection(['rdbhost'], builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/postgres/pgconnection.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/postgres/pgconnection.py --- ./sqlobject/postgres/pgconnection.py (original) +++ ./sqlobject/postgres/pgconnection.py (refactored) @@ -142,7 +142,7 @@ conn = self.module.connect(self.dsn) else: conn = self.module.connect(**self.dsn_dict) - except self.module.OperationalError, e: + except self.module.OperationalError as e: raise OperationalError(ErrorMessage(e, "used connection string %r" % self.dsn)) # For printDebug in _executeRetry @@ -162,29 +162,29 @@ self.printDebug(conn, query, 'QueryR') try: return cursor.execute(query) - except self.module.OperationalError, e: + except self.module.OperationalError as e: raise OperationalError(ErrorMessage(e)) - except self.module.IntegrityError, e: + except self.module.IntegrityError as e: msg = ErrorMessage(e) if e.pgcode == '23505': raise DuplicateEntryError(msg) else: raise IntegrityError(msg) - except self.module.InternalError, e: + except self.module.InternalError as e: raise InternalError(ErrorMessage(e)) - except self.module.ProgrammingError, e: + except self.module.ProgrammingError as e: raise ProgrammingError(ErrorMessage(e)) - except self.module.DataError, e: + except self.module.DataError as e: raise DataError(ErrorMessage(e)) - except self.module.NotSupportedError, e: + except self.module.NotSupportedError as e: raise NotSupportedError(ErrorMessage(e)) - except self.module.DatabaseError, e: + except self.module.DatabaseError as e: raise DatabaseError(ErrorMessage(e)) - except self.module.InterfaceError, e: + except self.module.InterfaceError as e: raise InterfaceError(ErrorMessage(e)) - except self.module.Warning, e: + except self.module.Warning as e: raise Warning(ErrorMessage(e)) - except self.module.Error, e: + except self.module.Error as e: raise Error(ErrorMessage(e)) def _queryInsertID(self, conn, soInstance, id, names, values): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/postgres/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/postgres/__init__.py --- ./sqlobject/postgres/__init__.py (original) +++ ./sqlobject/postgres/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import pgconnection + from . import pgconnection return pgconnection.PostgresConnection registerConnection(['postgres', 'postgresql', 'psycopg'], builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/mysql/mysqlconnection.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/mysql/mysqlconnection.py --- ./sqlobject/mysql/mysqlconnection.py (original) +++ ./sqlobject/mysql/mysqlconnection.py (refactored) @@ -69,7 +69,7 @@ db=self.db, user=self.user, passwd=self.password, **self.kw) if self.module.version_info[:3] >= (1, 2, 2): conn.ping(True) # Attempt to reconnect. This setting is persistent. - except self.module.OperationalError, e: + except self.module.OperationalError as e: conninfo = "; used connection string: host=%(host)s, port=%(port)s, db=%(db)s, user=%(user)s" % self.__dict__ raise OperationalError(ErrorMessage(e, conninfo)) @@ -90,9 +90,9 @@ conn.autocommit(auto) def _executeRetry(self, conn, cursor, query): - if self.need_unicode and not isinstance(query, unicode): + if self.need_unicode and not isinstance(query, str): try: - query = unicode(query, self.dbEncoding) + query = str(query, self.dbEncoding) except UnicodeError: pass @@ -111,7 +111,7 @@ for count in range(3): try: return cursor.execute(query) - except self.module.OperationalError, e: + except self.module.OperationalError as e: if e.args[0] in (self.module.constants.CR.SERVER_GONE_ERROR, self.module.constants.CR.SERVER_LOST): if count == 2: raise OperationalError(ErrorMessage(e)) @@ -119,27 +119,27 @@ self.printDebug(conn, str(e), 'ERROR') else: raise OperationalError(ErrorMessage(e)) - except self.module.IntegrityError, e: + except self.module.IntegrityError as e: msg = ErrorMessage(e) if e.args[0] == self.module.constants.ER.DUP_ENTRY: raise DuplicateEntryError(msg) else: raise IntegrityError(msg) - except self.module.InternalError, e: + except self.module.InternalError as e: raise InternalError(ErrorMessage(e)) - except self.module.ProgrammingError, e: + except self.module.ProgrammingError as e: raise ProgrammingError(ErrorMessage(e)) - except self.module.DataError, e: + except self.module.DataError as e: raise DataError(ErrorMessage(e)) - except self.module.NotSupportedError, e: + except self.module.NotSupportedError as e: raise NotSupportedError(ErrorMessage(e)) - except self.module.DatabaseError, e: + except self.module.DatabaseError as e: raise DatabaseError(ErrorMessage(e)) - except self.module.InterfaceError, e: + except self.module.InterfaceError as e: raise InterfaceError(ErrorMessage(e)) - except self.module.Warning, e: + except self.module.Warning as e: raise Warning(ErrorMessage(e)) - except self.module.Error, e: + except self.module.Error as e: raise Error(ErrorMessage(e)) def _queryInsertID(self, conn, soInstance, id, names, values): @@ -194,7 +194,7 @@ # which is not always True (for an embedded application, e.g.) self.query('DESCRIBE %s' % (tableName)) return True - except ProgrammingError, e: + except ProgrammingError as e: if e[0].code == 1146: # ER_NO_SUCH_TABLE return False raise RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/mysql/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/mysql/__init__.py --- ./sqlobject/mysql/__init__.py (original) +++ ./sqlobject/mysql/__init__.py (refactored) @@ -2,7 +2,7 @@ #import mysqltypes def builder(): - import mysqlconnection + from . import mysqlconnection return mysqlconnection.MySQLConnection registerConnection(['mysql'], builder) 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 ./sqlobject/mssql/mssqlconnection.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/mssql/mssqlconnection.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/mssql/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/mssql/__init__.py --- ./sqlobject/mssql/__init__.py (original) +++ ./sqlobject/mssql/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import mssqlconnection + from . import mssqlconnection return mssqlconnection.MSSQLConnection registerConnection(['mssql'], builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/maxdb/maxdbconnection.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/maxdb/maxdbconnection.py --- ./sqlobject/maxdb/maxdbconnection.py (original) +++ ./sqlobject/maxdb/maxdbconnection.py (refactored) @@ -246,7 +246,7 @@ pkmap[col_name]=True if len(pkmap) == 0: - raise PrimaryKeyNotFounded, tableName + raise PrimaryKeyNotFounded(tableName) for (field, nullAllowed, default, data_type, data_len, data_scale) in colData: RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/maxdb/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/maxdb/__init__.py --- ./sqlobject/maxdb/__init__.py (original) +++ ./sqlobject/maxdb/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import maxdbconnection + from . import maxdbconnection return maxdbconnection.MaxdbConnection registerConnection(['maxdb','sapdb'],builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/manager/command.py --- ./sqlobject/manager/command.py (original) +++ ./sqlobject/manager/command.py (refactored) @@ -69,10 +69,10 @@ del existing[col.dbName] else: missing[col.dbName] = col - for col in existing.values(): + for col in list(existing.values()): diffs.append('Database has extra column: %s' % col.dbName) - for col in missing.values(): + for col in list(missing.values()): diffs.append('Database missing column: %s' % col.dbName) return diffs @@ -96,7 +96,7 @@ self.invalid('No COMMAND given (try "%s help")' % os.path.basename(invoked_as)) real_command = self.command_aliases.get(command, command) - if real_command not in self.commands.keys(): + if real_command not in list(self.commands.keys()): self.invalid('COMMAND %s unknown' % command) runner = self.commands[real_command]( invoked_as, command, args, self) @@ -109,7 +109,7 @@ self.command_aliases[alias] = name def invalid(self, msg, code=2): - print msg + print(msg) sys.exit(code) the_runner = CommandRunner() @@ -170,9 +170,7 @@ default=[]) return parser -class Command(object): - - __metaclass__ = DeclarativeMeta +class Command(object, metaclass=DeclarativeMeta): min_args = 0 min_args_error = 'You must provide at least %(min_args)s arguments' @@ -225,7 +223,7 @@ # Check for circular references if cls in dependency_stack: dependency_stack.append(cls) - raise SQLObjectCircularReferenceError, ( + raise SQLObjectCircularReferenceError( "Found a circular reference: %s " % (' --> '.join([x.__name__ for x in dependency_stack]))) @@ -248,14 +246,14 @@ sorter.append((level, cls)) sorter.sort() ordered_classes = [cls for level, cls in sorter] - except SQLObjectCircularReferenceError, msg: + except SQLObjectCircularReferenceError as msg: # Failsafe: return the classes as-is if a circular reference # prevented the dependency levels to be calculated. - print ("Warning: a circular reference was detected in the " + print(("Warning: a circular reference was detected in the " "model. Unable to sort the classes by dependency: they " "will be treated in alphabetic order. This may or may " "not work depending on your database backend. " - "The error was:\n%s" % msg) + "The error was:\n%s" % msg)) return classes return ordered_classes @@ -347,21 +345,21 @@ % '\n * '.join([soClass.__name__ for soClass in missing])) if require_some and not all: - print 'No classes found!' + print('No classes found!') if self.options.modules: - print 'Looked in modules: %s' % ', '.join(self.options.modules) + print('Looked in modules: %s' % ', '.join(self.options.modules)) else: - print 'No modules specified' + print('No modules specified') if self.options.packages: - print 'Looked in packages: %s' % ', '.join(self.options.packages) + print('Looked in packages: %s' % ', '.join(self.options.packages)) else: - print 'No packages specified' + print('No packages specified') if self.options.class_matchers: - print 'Matching class pattern: %s' % self.options.class_matches + print('Matching class pattern: %s' % self.options.class_matches) if self.options.eggs: - print 'Looked in eggs: %s' % ', '.join(self.options.eggs) + print('Looked in eggs: %s' % ', '.join(self.options.eggs)) else: - print 'No eggs specified' + print('No eggs specified') sys.exit(1) return self.orderClassesByDependencyLevel(all) @@ -411,7 +409,7 @@ if '#' in conf_fn: conf_fn, conf_section = conf_fn.split('#', 1) - from ConfigParser import ConfigParser + from configparser import ConfigParser p = ConfigParser() # Case-sensitive: p.optionxform = str @@ -454,21 +452,20 @@ def find_classes_in_file(arg, dir_name, filenames): if dir_name.startswith('.svn'): return - filenames = filter(lambda fname: fname.endswith('.py') and fname != '__init__.py', - filenames) + filenames = [fname for fname in filenames if fname.endswith('.py') and fname != '__init__.py'] for fname in filenames: module_name = os.path.join(dir_name, fname) module_name = module_name[module_name.find(package_name):] module_name = module_name.replace(os.path.sep,'.')[:-3] try: module = moduleloader.load_module(module_name) - except ImportError, err: + except ImportError as err: if self.options.verbose: - print 'Could not import module "%s". Error was : "%s"' % (module_name, err) + print('Could not import module "%s". Error was : "%s"' % (module_name, err)) continue - except Exception, exc: + except Exception as exc: if self.options.verbose: - print 'Unknown exception while processing module "%s" : "%s"' % (module_name, exc) + print('Unknown exception while processing module "%s" : "%s"' % (module_name, exc)) continue classes = self.classes_from_module(module) all.extend(classes) @@ -484,7 +481,7 @@ if not mod: continue if self.options.verbose: - print 'Looking in module %s' % mod + print('Looking in module %s' % mod) modules.extend(self.classes_from_module( moduleloader.load_module(mod))) return modules @@ -503,7 +500,7 @@ dist = pkg_resources.get_distribution(egg_spec) if not dist.has_metadata('sqlobject.txt'): if warn_no_sqlobject: - print 'No sqlobject.txt in %s egg info' % egg_spec + print('No sqlobject.txt in %s egg info' % egg_spec) return None, {} result = {} for line in dist.get_metadata_lines('sqlobject.txt'): @@ -513,7 +510,7 @@ name, value = line.split('=', 1) name = name.strip().lower() if name in result: - print 'Warning: %s appears more than once in sqlobject.txt' % name + print('Warning: %s appears more than once in sqlobject.txt' % name) result[name.strip().lower()] = value.strip() return dist, result @@ -532,12 +529,12 @@ else: prompt += ' [y/N]? ' while 1: - response = raw_input(prompt).strip() + response = input(prompt).strip() if not response.strip(): return default if response and response[0].lower() in ('y', 'n'): return response[0].lower() == 'y' - print 'Y or N please' + print('Y or N please') def shorten_filename(self, fn): """ @@ -558,7 +555,7 @@ f = open(fn, 'w') f.write(pretext) f.close() - print '$EDITOR %s' % fn + print('$EDITOR %s' % fn) os.system('$EDITOR %s' % fn) f = open(fn, 'r') content = f.read() @@ -582,16 +579,16 @@ allConstraints = [] for cls in classes: if self.options.verbose >= 1: - print '-- %s from %s' % ( - cls.__name__, cls.__module__) + print('-- %s from %s' % ( + cls.__name__, cls.__module__)) createSql, constraints = cls.createTableSQL() - print createSql.strip() + ';\n' + print(createSql.strip() + ';\n') allConstraints.append(constraints) for constraints in allConstraints: if constraints: for constraint in constraints: if constraint: - print constraint.strip() + ';\n' + print(constraint.strip() + ';\n') class CommandList(Command): @@ -603,12 +600,12 @@ def command(self): if self.options.verbose >= 1: - print 'Classes found:' + print('Classes found:') classes = self.classes(require_connection=False) for soClass in classes: - print '%s.%s' % (soClass.__module__, soClass.__name__) + print('%s.%s' % (soClass.__module__, soClass.__name__)) if self.options.verbose >= 1: - print ' Table: %s' % soClass.sqlmeta.table + print(' Table: %s' % soClass.sqlmeta.table) class CommandCreate(Command): @@ -633,26 +630,26 @@ if not self.options.simulate: try: soClass._connection.createEmptyDatabase() - except soClass._connection.module.ProgrammingError, e: + except soClass._connection.module.ProgrammingError as e: if str(e).find('already exists') != -1: - print 'Database already exists' + print('Database already exists') else: raise else: - print '(simulating; cannot create database)' + print('(simulating; cannot create database)') dbs_created.append(soClass._connection) - if soClass._connection not in constraints.keys(): + if soClass._connection not in list(constraints.keys()): constraints[soClass._connection] = [] exists = soClass._connection.tableExists(soClass.sqlmeta.table) if v >= 1: if exists: existing += 1 - print '%s already exists.' % soClass.__name__ + print('%s already exists.' % soClass.__name__) else: - print 'Creating %s' % soClass.__name__ + print('Creating %s' % soClass.__name__) if v >= 2: sql, extra = soClass.createTableSQL() - print sql + print(sql) if (not self.options.simulate and not exists): if self.options.interactive: @@ -662,22 +659,22 @@ if tableConstraints: constraints[soClass._connection].append(tableConstraints) else: - print 'Cancelled' + print('Cancelled') else: created += 1 tableConstraints = soClass.createTable(applyConstraints=False) if tableConstraints: constraints[soClass._connection].append(tableConstraints) - for connection in constraints.keys(): + for connection in list(constraints.keys()): if v >= 2: - print 'Creating constraints' + print('Creating constraints') for constraintList in constraints[connection]: for constraint in constraintList: if constraint: connection.query(constraint) if v >= 1: - print '%i tables created (%i already exist)' % ( - created, existing) + print('%i tables created (%i already exist)' % ( + created, existing)) class CommandDrop(Command): @@ -695,10 +692,10 @@ exists = soClass._connection.tableExists(soClass.sqlmeta.table) if v >= 1: if exists: - print 'Dropping %s' % soClass.__name__ + print('Dropping %s' % soClass.__name__) else: not_existing += 1 - print '%s does not exist.' % soClass.__name__ + print('%s does not exist.' % soClass.__name__) if (not self.options.simulate and exists): if self.options.interactive: @@ -706,13 +703,13 @@ dropped += 1 soClass.dropTable() else: - print 'Cancelled' + print('Cancelled') else: dropped += 1 soClass.dropTable() if v >= 1: - print '%i tables dropped (%i didn\'t exist)' % ( - dropped, not_existing) + print('%i tables dropped (%i didn\'t exist)' % ( + dropped, not_existing)) class CommandStatus(Command): @@ -730,7 +727,7 @@ if self.printed: return self.printed = True - print 'Checking %s...' % soClass.__name__ + print('Checking %s...' % soClass.__name__) def command(self): good = 0 @@ -744,7 +741,7 @@ self.print_class(soClass) if not conn.tableExists(soClass.sqlmeta.table): self.print_class(soClass) - print ' Does not exist in database' + print(' Does not exist in database') missing_tables += 1 continue try: @@ -752,13 +749,13 @@ soClass) except AttributeError: if not columnsFromSchema_warning: - print 'Database does not support reading columns' + print('Database does not support reading columns') columnsFromSchema_warning = True good += 1 continue - except AssertionError, e: - print 'Cannot read db table %s: %s' % ( - soClass.sqlmeta.table, e) + except AssertionError as e: + print('Cannot read db table %s: %s' % ( + soClass.sqlmeta.table, e)) continue existing = {} for col in columns: @@ -772,19 +769,19 @@ missing[col.dbName] = col if existing: self.print_class(soClass) - for col in existing.values(): - print ' Database has extra column: %s' % col.dbName + for col in list(existing.values()): + print(' Database has extra column: %s' % col.dbName) if missing: self.print_class(soClass) - for col in missing.values(): - print ' Database missing column: %s' % col.dbName + for col in list(missing.values()): + print(' Database missing column: %s' % col.dbName) if existing or missing: bad += 1 else: good += 1 if self.options.verbose: - print '%i in sync; %i out of sync; %i not in database' % ( - good, bad, missing_tables) + print('%i in sync; %i out of sync; %i not in database' % ( + good, bad, missing_tables)) class CommandHelp(Command): @@ -799,20 +796,20 @@ if self.args: the_runner.run([self.invoked_as, self.args[0], '-h']) else: - print 'Available commands:' - print ' (use "%s help COMMAND" or "%s COMMAND -h" ' % ( - self.prog_name, self.prog_name) - print ' for more information)' - items = the_runner.commands.items() + print('Available commands:') + print(' (use "%s help COMMAND" or "%s COMMAND -h" ' % ( + self.prog_name, self.prog_name)) + print(' for more information)') + items = list(the_runner.commands.items()) items.sort() max_len = max([len(cn) for cn, c in items]) for command_name, command in items: - print '%s:%s %s' % (command_name, + print('%s:%s %s' % (command_name, ' '*(max_len-len(command_name)), - command.summary) + command.summary)) if command.aliases: - print '%s (Aliases: %s)' % ( - ' '*max_len, ', '.join(command.aliases)) + print('%s (Aliases: %s)' % ( + ' '*max_len, ', '.join(command.aliases))) class CommandExecute(Command): @@ -834,7 +831,7 @@ args = self.args if self.options.use_stdin: if self.options.verbose: - print "Reading additional SQL from stdin (Ctrl-D or Ctrl-Z to finish)..." + print("Reading additional SQL from stdin (Ctrl-D or Ctrl-Z to finish)...") args.append(sys.stdin.read()) self.conn = self.connection().getConnection() self.cursor = self.conn.cursor() @@ -843,22 +840,22 @@ def execute_sql(self, sql): if self.options.verbose: - print sql + print(sql) try: self.cursor.execute(sql) - except Exception, e: + except Exception as e: if not self.options.verbose: - print sql - print "****Error:" - print ' ', e + print(sql) + print("****Error:") + print(' ', e) return desc = self.cursor.description rows = self.cursor.fetchall() if self.options.verbose: if not self.cursor.rowcount: - print "No rows accessed" + print("No rows accessed") else: - print "%i rows accessed" % self.cursor.rowcount + print("%i rows accessed" % self.cursor.rowcount) if desc: for name, type_code, display_size, internal_size, precision, scale, null_ok in desc: sys.stdout.write("%s\t" % name) @@ -867,7 +864,7 @@ for col in row: sys.stdout.write("%r\t" % col) sys.stdout.write("\n") - print + print() class CommandRecord(Command): @@ -928,12 +925,12 @@ sim = self.options.simulate classes = self.classes() if not classes: - print "No classes found!" + print("No classes found!") return output_dir = self.find_output_dir() version = os.path.basename(output_dir) - print "Creating version %s" % version + print("Creating version %s" % version) conns = [] files = {} for cls in self.classes(): @@ -963,14 +960,14 @@ last_version_dir = self.find_last_version() if last_version_dir and not self.options.force_create: if v > 1: - print "Checking %s to see if it is current" % last_version_dir + print("Checking %s to see if it is current" % last_version_dir) files_copy = files.copy() for fn in os.listdir(last_version_dir): if not fn.endswith('.sql'): continue if not fn in files_copy: if v > 1: - print "Missing file %s" % fn + print("Missing file %s" % fn) break f = open(os.path.join(last_version_dir, fn), 'r') content = f.read() @@ -978,32 +975,32 @@ if (self.strip_comments(files_copy[fn]) != self.strip_comments(content)): if v > 1: - print "Content does not match: %s" % fn + print("Content does not match: %s" % fn) break del files_copy[fn] else: # No differences so far if not files_copy: # Used up all files - print ("Current status matches version %s" - % os.path.basename(last_version_dir)) + print(("Current status matches version %s" + % os.path.basename(last_version_dir))) return if v > 1: - print "Extra files: %s" % ', '.join(files_copy.keys()) + print("Extra files: %s" % ', '.join(list(files_copy.keys()))) if v: - print ("Current state does not match %s" - % os.path.basename(last_version_dir)) + print(("Current state does not match %s" + % os.path.basename(last_version_dir))) if v > 1 and not last_version_dir: - print "No last version to check" + print("No last version to check") if not sim: os.mkdir(output_dir) if v: - print 'Making directory %s' % self.shorten_filename(output_dir) - files = files.items() + print('Making directory %s' % self.shorten_filename(output_dir)) + files = list(files.items()) files.sort() for fn, content in files: if v: - print ' Writing %s' % self.shorten_filename(fn) + print(' Writing %s' % self.shorten_filename(fn)) if not sim: f = open(os.path.join(output_dir, fn), 'w') f.write(content) @@ -1021,8 +1018,8 @@ diff = ' %s: %s' % (cls.sqlmeta.table, diff) all_diffs.append(diff) if all_diffs: - print 'Database does not match schema:' - print '\n'.join(all_diffs) + print('Database does not match schema:') + print('\n'.join(all_diffs)) for conn in conns: self.update_db(version, conn) else: @@ -1044,17 +1041,17 @@ f = open(fn, 'w') f.write(text) f.close() - print 'Wrote to %s' % fn + print('Wrote to %s' % fn) def update_db(self, version, conn): v = self.options.verbose if not conn.tableExists(SQLObjectVersionTable.sqlmeta.table): if v: - print ('Creating table %s' - % SQLObjectVersionTable.sqlmeta.table) + print(('Creating table %s' + % SQLObjectVersionTable.sqlmeta.table)) sql = SQLObjectVersionTable.createTableSQL(connection=conn) if v > 1: - print sql + print(sql) if not self.options.simulate: SQLObjectVersionTable.createTable(connection=conn) if not self.options.simulate: @@ -1073,7 +1070,7 @@ if base is None: base = CONFIG.get('sqlobject_history_dir', '.') if not os.path.exists(base): - print 'Creating history directory %s' % self.shorten_filename(base) + print('Creating history directory %s' % self.shorten_filename(base)) if not self.options.simulate: os.makedirs(base) return base @@ -1084,8 +1081,8 @@ dir = os.path.join(self.base_dir(), today + '-' + self.options.version_name) if os.path.exists(dir): - print ("Error, directory already exists: %s" - % dir) + print(("Error, directory already exists: %s" + % dir)) sys.exit(1) return dir extra = '' @@ -1114,18 +1111,18 @@ sim = self.options.simulate version = self.options.force_db_version if not self.version_regex.search(version): - print "Versions must be in the format YYYY-MM-DD..." - print "You version %s does not fit this" % version + print("Versions must be in the format YYYY-MM-DD...") + print("You version %s does not fit this" % version) return version_dir = os.path.join(self.base_dir(), version) if not os.path.exists(version_dir): if v: - print 'Creating %s' % self.shorten_filename(version_dir) + print('Creating %s' % self.shorten_filename(version_dir)) if not sim: os.mkdir(version_dir) elif v: - print ('Directory %s exists' - % self.shorten_filename(version_dir)) + print(('Directory %s exists' + % self.shorten_filename(version_dir))) if self.options.db_record: self.update_db(version, self.connection()) @@ -1162,51 +1159,51 @@ else: fname = self.find_last_version() if fname is None: - print "No version exists, use 'record' command to create one" + print("No version exists, use 'record' command to create one") return version_to = os.path.basename(fname) current = self.current_version() if v: - print 'Current version: %s' % current + print('Current version: %s' % current) version_list = self.make_plan(current, version_to) if not version_list: - print 'Database up to date' + print('Database up to date') return if v: - print 'Plan:' + print('Plan:') for next_version, upgrader in version_list: - print ' Use %s to upgrade to %s' % ( - self.shorten_filename(upgrader), next_version) + print(' Use %s to upgrade to %s' % ( + self.shorten_filename(upgrader), next_version)) conn = self.connection() for next_version, upgrader in version_list: f = open(upgrader) sql = f.read() f.close() if v: - print "Running:" - print sql - print '-'*60 + print("Running:") + print(sql) + print('-'*60) if not sim: try: conn.query(sql) except: - print "Error in script: %s" % upgrader + print("Error in script: %s" % upgrader) raise self.update_db(next_version, conn) - print 'Done.' + print('Done.') def current_version(self): conn = self.connection() if not conn.tableExists(SQLObjectVersionTable.sqlmeta.table): - print 'No sqlobject_version table!' + print('No sqlobject_version table!') sys.exit(1) versions = list(SQLObjectVersionTable.select(connection=conn)) if not versions: - print 'No rows in sqlobject_version!' + print('No rows in sqlobject_version!') sys.exit(1) if len(versions) > 1: - print 'Ambiguous sqlobject_version_table' + print('Ambiguous sqlobject_version_table') sys.exit(1) return versions[0].version @@ -1216,9 +1213,9 @@ dbname = self.connection().dbName next_version, upgrader = self.best_upgrade(current, dest, dbname) if not upgrader: - print 'No way to upgrade from %s to %s' % (current, dest) - print ('(you need a %s/upgrade_%s_%s.sql script)' - % (current, dbname, dest)) + print('No way to upgrade from %s RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/manager/command.py to %s' % (current, dest)) + print(('(you need a %s/upgrade_%s_%s.sql script)' + % (current, dbname, dest))) sys.exit(1) plan = [(next_version, upgrader)] if next_version == dest: @@ -1229,42 +1226,42 @@ def best_upgrade(self, current, dest, target_dbname): current_dir = os.path.join(self.base_dir(), current) if self.options.verbose > 1: - print ('Looking in %s for upgraders' - % self.shorten_filename(current_dir)) + print(('Looking in %s for upgraders' + % self.shorten_filename(current_dir))) upgraders = [] for fn in os.listdir(current_dir): match = self.upgrade_regex.search(fn) if not match: if self.options.verbose > 1: - print 'Not an upgrade script: %s' % fn + print('Not an upgrade script: %s' % fn) continue dbname = match.group(1) version = match.group(2) if dbname != target_dbname: if self.options.verbose > 1: - print 'Not for this database: %s (want %s)' % ( - dbname, target_dbname) + print('Not for this database: %s (want %s)' % ( + dbname, target_dbname)) continue if version > dest: if self.options.verbose > 1: - print 'Version too new: %s (only want %s)' % ( - version, dest) + print('Version too new: %s (only want %s)' % ( + version, dest)) upgraders.append((version, os.path.join(current_dir, fn))) if not upgraders: if self.options.verbose > 1: - print 'No upgraders found in %s' % current_dir + print('No upgraders found in %s' % current_dir) return None, None upgraders.sort() return upgraders[-1] def update_sys_path(paths, verbose): - if isinstance(paths, basestring): + if isinstance(paths, str): paths = [paths] for path in paths: path = os.path.abspath(path) if path not in sys.path: if verbose > 1: - print 'Adding %s to path' % path + print('Adding %s to path' % path) sys.path.insert(0, path) if __name__ == '__main__': RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No files need to be modified. RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/main.py --- ./sqlobject/main.py (original) +++ ./sqlobject/main.py (refactored) @@ -28,23 +28,23 @@ import threading import weakref -import sqlbuilder -import dbconnection -import col -import styles +from . import sqlbuilder +from . import dbconnection +from . import col +from . import styles import types import warnings -import joins -import index -import classregistry -import declarative -import events -from sresults import SelectResults -from util.threadinglocal import local +from . import joins +from . import index +from . import classregistry +from . import declarative +from . import events +from .sresults import SelectResults +from .util.threadinglocal import local import sys if sys.version_info[:3] < (2, 6, 0): - raise ImportError, "SQLObject requires Python 2.6.0 or later" + raise ImportError("SQLObject requires Python 2.6.0 or later") """ This thread-local storage is needed for RowCreatedSignals. It gathers @@ -81,7 +81,7 @@ d = obj.__dict__ props = {} - for var, value in d.items(): + for var, value in list(d.items()): if var.startswith('_set_'): props.setdefault(var[5:], {})['set'] = value elif var.startswith('_get_'): @@ -90,7 +90,7 @@ props.setdefault(var[5:], {})['del'] = value elif var.startswith('_doc_'): props.setdefault(var[5:], {})['doc'] = value - for var, setters in props.items(): + for var, setters in list(props.items()): if len(setters) == 1 and 'doc' in setters: continue if var in d: @@ -115,7 +115,7 @@ delFunc = delattr d = obj.__dict__ - for var, value in d.items(): + for var, value in list(d.items()): if isinstance(value, property): for prop in [value.fget, value.fset, value.fdel]: if prop and not prop.__name__ in d: @@ -148,7 +148,7 @@ """ result = [] - for attr, value in new_attrs.items(): + for attr, value in list(new_attrs.items()): if isinstance(value, look_for_class): value.name = attr delattr(cls, attr) @@ -162,7 +162,7 @@ """ pass -class sqlmeta(object): +class sqlmeta(object, metaclass=declarative.DeclarativeMeta): """ This object is the object we use to keep track of all sorts of @@ -235,8 +235,6 @@ # Default encoding for UnicodeCol's dbEncoding = None - - __metaclass__ = declarative.DeclarativeMeta def __classinit__(cls, new_attrs): for attr in cls._unshared_attributes: @@ -321,7 +319,7 @@ parent_columns = [] for base in soClass.__bases__: if hasattr(base, "sqlmeta"): - parent_columns.extend(base.sqlmeta.columns.keys()) + parent_columns.extend(list(base.sqlmeta.columns.keys())) if hasattr(soClass, name): assert (name in parent_columns) or (name == "childName"), ( "The class %s.%s already has a variable or method %r, you cannot " @@ -440,7 +438,7 @@ conn = connection or soClass._connection for columnDef in conn.columnsFromSchema(sqlmeta.table, soClass): if columnDef.name not in sqlmeta.columnDefinitions: - if isinstance(columnDef.name, unicode): + if isinstance(columnDef.name, str): columnDef.name = columnDef.name.encode('ascii') sqlmeta.addColumn(columnDef) @@ -456,7 +454,7 @@ else: raise ValueError('Unknown column ' + column) if isinstance(column, col.Col): - for c in sqlmeta.columns.values(): + for c in list(sqlmeta.columns.values()): if column is c.columnDef: column = c break @@ -704,9 +702,7 @@ # here, though -- just automatic method generation (like # methods and properties for each column) is done in # MetaSQLObject. -class SQLObject(object): - - __metaclass__ = declarative.DeclarativeMeta +class SQLObject(object, metaclass=declarative.DeclarativeMeta): _connection = sqlhub @@ -770,12 +766,12 @@ # _columns where the attribute has been set to None in this # class. If so, then we need to remove that column from # _columns. - for key in sqlmeta.columnDefinitions.keys(): + for key in list(sqlmeta.columnDefinitions.keys()): if (key in new_attrs and new_attrs[key] is None): del sqlmeta.columnDefinitions[key] - for column in sqlmeta.columnDefinitions.values(): + for column in list(sqlmeta.columnDefinitions.values()): sqlmeta.addColumn(column) for column in implicitColumns: @@ -850,7 +846,7 @@ "(while fixing up sqlmeta %r inheritance)" % cls.sqlmeta) values = dict(cls.sqlmeta.__dict__) - for key in values.keys(): + for key in list(values.keys()): if key.startswith('__') and key.endswith('__'): # Magic values shouldn't be passed through: del values[key] @@ -931,7 +927,7 @@ dbNames = [col.dbName for col in self.sqlmeta.columnList] selectResults = self._connection._SO_selectOne(self, dbNames) if not selectResults: - raise SQLObjectNotFound, "The object %s by the ID %s does not exist" % (self.__class__.__name__, self.id) + raise SQLObjectNotFound("The object %s by the ID %s does not exist" % (self.__class__.__name__, self.id)) self._SO_selectInit(selectResults) self._SO_createValues = {} self.sqlmeta.dirty = False @@ -958,7 +954,7 @@ dbNames = [col.dbName for col in self.sqlmeta.columnList] selectResults = self._connection._SO_selectOne(self, dbNames) if not selectResults: - raise SQLObjectNotFound, "The object %s by the ID %s has been deleted" % (self.__class__.__name__, self.id) + raise SQLObjectNotFound("The object %s by the ID %s has been deleted" % (self.__class__.__name__, self.id)) self._SO_selectInit(selectResults) result = getattr(self, attrName) return result @@ -973,7 +969,7 @@ dbNames = [col.dbName for col in self.sqlmeta.columnList] selectResults = self._connection._SO_selectOne(self, dbNames) if not selectResults: - raise SQLObjectNotFound, "The object %s by the ID %s has been deleted" % (self.__class__.__name__, self.id) + raise SQLObjectNotFound("The object %s by the ID %s has been deleted" % (self.__class__.__name__, self.id)) self._SO_selectInit(selectResults) self.sqlmeta.expired = False finally: @@ -986,7 +982,7 @@ try: if self.sqlmeta.columns: values = [(self.sqlmeta.columns[v[0]].dbName, v[1]) - for v in self._SO_createValues.items()] + for v in list(self._SO_createValues.items())] self._connection._SO_update(self, values) self.sqlmeta.dirty = False self._SO_createValues = {} @@ -1067,13 +1063,13 @@ is_column = lambda _c: _c in self.sqlmeta._plainSetters f_is_column = lambda item: is_column(item[0]) f_not_column = lambda item: not is_column(item[0]) - items = kw.items() - extra = dict(filter(f_not_column, items)) - kw = dict(filter(f_is_column, items)) + items = list(kw.items()) + extra = dict(list(filter(f_not_column, items))) + kw = dict(list(filter(f_is_column, items))) # _creating is special, see _SO_setValue if self.sqlmeta._creating or self.sqlmeta.lazyUpdate: - for name, value in kw.items(): + for name, value in list(kw.items()): from_python = getattr(self, '_SO_from_python_%s' % name, None) if from_python: kw[name] = dbValue = from_python(value, self._SO_validatorState) @@ -1086,16 +1082,16 @@ self._SO_createValues.update(kw) - for name, value in extra.items(): + for name, value in list(extra.items()): try: getattr(self.__class__, name) except AttributeError: if name not in self.sqlmeta.columns: - raise TypeError, "%s.set() got an unexpected keyword argument %s" % (self.__class__.__name__, name) + raise TypeError("%s.set() got an unexpected keyword argument %s" % (self.__class__.__name__, name)) try: setattr(self, name, value) - except AttributeError, e: - raise AttributeError, '%s (with attribute %r)' % (e, name) + except AttributeError as e: + raise AttributeError('%s (with attribute %r)' % (e, name)) self.sqlmeta.dirty = True return @@ -1112,7 +1108,7 @@ # read the user's mind. We'll combine everything # else into a single UPDATE, if necessary. toUpdate = {} - for name, value in kw.items(): + for name, value in list(kw.items()): from_python = getattr(self, '_SO_from_python_%s' % name, None) if from_python: dbValue = from_python(value, self._SO_validatorState) @@ -1124,20 +1120,20 @@ if self.sqlmeta.cacheValues: setattr(self, instanceName(name), value) toUpdate[name] = dbValue - for name, value in extra.items(): + for name, value in list(extra.items()): try: getattr(self.__class__, name) except AttributeError: if name not in self.sqlmeta.columns: - raise TypeError, "%s.set() got an unexpected keyword argument %s" % (self.__class__.__name__, name) + raise TypeError("%s.set() got an unexpected keyword argument %s" % (self.__class__.__name__, name)) try: setattr(self, name, value) - except AttributeError, e: - raise AttributeError, '%s (with attribute %r)' % (e, name) + except AttributeError as e: + raise AttributeError('%s (with attribute %r)' % (e, name)) if toUpdate: args = [(self.sqlmeta.columns[name].dbName, value) - for name, value in toUpdate.items()] + for name, value in list(toUpdate.items())] self._connection._SO_update(self, args) finally: self._SO_writeLock.release() @@ -1257,7 +1253,7 @@ # If we specified an SQL DEFAULT, then we should use that if default is NoDefault: if column.defaultSQL is None: - raise TypeError, "%s() did not get expected keyword argument '%s'" % (self.__class__.__name__, column.name) + raise TypeError("%s() did not get expected keyword argument '%s'" % (self.__class__.__name__, column.name)) else: # There is defaultSQL for the column - do not put # the column to kw so that the backend creates the value @@ -1277,7 +1273,7 @@ # Here's where an INSERT is finalized. # These are all the column values that were supposed # to be set, but were delayed until now: - setters = self._SO_createValues.items() + setters = list(self._SO_createValues.items()) # Here's their database names: names = [self.sqlmeta.columns[v[0]].dbName for v in setters] values = [v[1] for v in setters] @@ -1316,7 +1312,7 @@ name = (name,) value = (value,) if len(name) != len(value): - raise ValueError, "'column' and 'value' tuples must be of the same size" + raise VaRefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/main.py lueError("'column' and 'value' tuples must be of the same size") new_value = [] for n, v in zip(name, value): from_python = getattr(cls, '_SO_from_python_' + n) @@ -1335,13 +1331,13 @@ result, obj = cls._findAlternateID(name, dbName, value, connection) if not result: if idxName is None: - raise SQLObjectNotFound, "The %s by alternateID %s = %s does not exist" % (cls.__name__, name, repr(value)) + raise SQLObjectNotFound("The %s by alternateID %s = %s does not exist" % (cls.__name__, name, repr(value))) else: names = [] - for i in xrange(len(name)): + for i in range(len(name)): names.append("%s = %s" % (name[i], repr(value[i]))) names = ', '.join(names) - raise SQLObjectNotFound, "The %s by unique index %s(%s) does not exist" % (cls.__name__, idxName, names) + raise SQLObjectNotFound("The %s by unique index %s(%s) does not exist" % (cls.__name__, idxName, names)) if obj: return obj if connection: @@ -1564,7 +1560,7 @@ if results.count(): # Restrictions only apply if there are # matching records on the related table - raise SQLObjectIntegrityError, ( + raise SQLObjectIntegrityError( "Tried to delete %s::%s but " "table %s has a restriction against it" % (klass.__name__, self.id, k.__name__)) @@ -1638,7 +1634,7 @@ @classmethod def setConnection(cls, value): - if isinstance(value, basestring): + if isinstance(value, str): value = dbconnection.connectionForURI(value) cls._connection = value @@ -1720,7 +1716,7 @@ return getattr(obj, refColumn or 'id') elif isinstance(obj, int): return obj - elif isinstance(obj, long): + elif isinstance(obj, int): return int(obj) elif isinstance(obj, str): try: @@ -1733,7 +1729,7 @@ def getObject(obj, klass): if isinstance(obj, int): return klass(obj) - elif isinstance(obj, long): + elif isinstance(obj, int): return klass(int(obj)) elif isinstance(obj, str): return klass(int(obj)) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/joins.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/joins.py --- ./sqlobject/joins.py (original) +++ ./sqlobject/joins.py (refactored) @@ -1,9 +1,9 @@ from itertools import count -import classregistry -import events -import styles -import sqlbuilder -from styles import capword +from . import classregistry +from . import events +from . import styles +from . import sqlbuilder +from .styles import capword __all__ = ['MultipleJoin', 'SQLMultipleJoin', 'RelatedJoin', 'SQLRelatedJoin', 'SingleJoin', 'ManyToMany', 'OneToMany'] @@ -23,7 +23,7 @@ kw['otherClass'] = otherClass self.kw = kw self._joinMethodName = self.kw.pop('joinMethodName', None) - self.creationOrder = creationOrder.next() + self.creationOrder = next(creationOrder) def _set_joinMethodName(self, value): assert self._joinMethodName == value or self._joinMethodName is None, "You have already given an explicit joinMethodName (%s), and you are now setting it to %s" % (self._joinMethodName, value) @@ -157,7 +157,7 @@ return self._applyOrderBy([self.otherClass.get(id, conn) for (id,) in ids if id is not None], self.otherClass) def _dbNameToPythonName(self): - for column in self.otherClass.sqlmeta.columns.values(): + for column in list(self.otherClass.sqlmeta.columns.values()): if column.dbName == self.joinColumn: return column.name return self.soClass.sqlmeta.style.dbColumnToPythonAttr(self.joinColumn) @@ -332,7 +332,7 @@ -import boundattributes +from . import boundattributes class SOManyToMany(object): @@ -345,7 +345,7 @@ self.otherColumn = otherColumn self.createJoinTable = createJoinTable self.soClass = self.otherClass = None - for name, value in attrs.items(): + for name, value in list(attrs.items()): setattr(self, name, value) classregistry.registry( soClass.sqlmeta.registry).addClassCallback( @@ -471,7 +471,7 @@ self.soClass = soClass self.name = name self.joinColumn = joinColumn - for name, value in attrs.items(): + for name, value in list(attrs.items()): setattr(self, name, value) classregistry.registry( soClass.sqlmeta.registry).addClassCallback( RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/inheritance/iteration.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/inheritance/iteration.py --- ./sqlobject/inheritance/iteration.py (original) +++ ./sqlobject/inheritance/iteration.py (refactored) @@ -20,7 +20,7 @@ break self._childNameIdx = childNameIdx - def next(self): + def __next__(self): if not self._results: self._results = list(self.cursor.fetchmany()) if not self.lazyColumns: self.fetchChildren() @@ -65,7 +65,7 @@ rawconn = self.rawconn cursor = rawconn.cursor() registry = self.select.sourceClass.sqlmeta.registry - for childName, ids in childIdsNames.items(): + for childName, ids in list(childIdsNames.items()): klass = findClass(childName, registry) if len(ids) == 1: select = klass.select(klass.q.id == ids[0], RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/inheritance/__init__.py --- ./sqlobject/inheritance/__init__.py (original) +++ ./sqlobject/inheritance/__init__.py (refactored) @@ -5,7 +5,8 @@ from sqlobject.col import StringCol, ForeignKey from sqlobject.main import sqlmeta, SQLObject, SelectResults, \ makeProperties, unmakeProperties, getterName, setterName -import iteration +from . import iteration +from functools import reduce def tablesUsedSet(obj, db): if hasattr(obj, "tablesUsedSet"): @@ -35,7 +36,7 @@ if inheritedTables: for tableName in inheritedTables: tablesSet.add(str(tableName)) - if orderBy and not isinstance(orderBy, basestring): + if orderBy and not isinstance(orderBy, str): tablesSet.update(tablesUsedSet(orderBy, dbName)) #DSM: if this class has a parent, we need to link it #DSM: and be sure the parent is in the table list. @@ -69,7 +70,7 @@ #DSM: Table registry contains only the last children #DSM: or standalone classes parentClause = [] - for (currentClass, minParentClass) in tableRegistry.items(): + for (currentClass, minParentClass) in list(tableRegistry.items()): while (currentClass != minParentClass) \ and currentClass.sqlmeta.parentClass: parentClass = currentClass.sqlmeta.parentClass @@ -86,7 +87,7 @@ return super(InheritableSelectResults, self).accumulateMany(*attributes) tables = [] for func_name, attribute in attributes: - if not isinstance(attribute, basestring): + if not isinstance(attribute, str): tables.append(attribute.tableName) clone = self.__class__(self.sourceClass, self.clause, self.clauseTables, inheritedTables=tables, **self.ops) @@ -130,7 +131,7 @@ q = getattr(soClass.q, columnDef.name, None) else: q = None - for c in sqlmeta.childClasses.values(): + for c in list(sqlmeta.childClasses.values()): c.sqlmeta.addColumn(columnDef, connection=connection, childUpdate=True) if q: setattr(c.q, columnDef.name, q) @@ -153,7 +154,7 @@ #DSM: Update each child class if needed #DSM: and delete properties for this column - for c in sqlmeta.childClasses.values(): + for c in list(sqlmeta.childClasses.values()): c.sqlmeta.delColumn(column, changeSchema=changeSchema, connection=connection, childUpdate=True) @@ -184,7 +185,7 @@ #DSM: Update each child class if needed and existing (only for new #DSM: dynamic join as no child classes exists at object creation) - for c in sqlmeta.childClasses.values(): + for c in list(sqlmeta.childClasses.values()): c.sqlmeta.addJoin(joinDef, childUpdate=True) @classmethod @@ -199,7 +200,7 @@ #DSM: Update each child class if needed #DSM: and delete properties for this join - for c in sqlmeta.childClasses.values(): + for c in list(sqlmeta.childClasses.values()): c.sqlmeta.delJoin(joinDef, childUpdate=True) @classmethod @@ -236,7 +237,7 @@ # if we are a child class, add sqlbuilder fields from parents currentClass = cls.sqlmeta.parentClass while currentClass: - for column in currentClass.sqlmeta.columnDefinitions.values(): + for column in list(currentClass.sqlmeta.columnDefinitions.values()): if column.name == 'childName': continue if isinstance(column, ForeignKey): @@ -319,7 +320,7 @@ # verify names of added columns if sqlmeta.parentClass: # FIXME: this does not check for grandparent column overrides - parentCols = sqlmeta.parentClass.sqlmeta.columns.keys() + parentCols = list(sqlmeta.parentClass.sqlmeta.columns.keys()) for column in sqlmeta.columnList: if column.name == 'childName': RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/inheritance/__init__.py raise AttributeError( @@ -357,7 +358,7 @@ parentClass = self.sqlmeta.parentClass new_kw = {} parent_kw = {} - for (name, value) in kw.items(): + for (name, value) in list(kw.items()): if (name != 'childName') and hasattr(parentClass, name): parent_kw[name] = value else: @@ -370,7 +371,7 @@ for col in self.sqlmeta.columnList: if (col._default == sqlbuilder.NoDefault) and \ (col.name not in kw) and (col.foreignName not in kw): - raise TypeError, "%s() did not get expected keyword argument %s" % (self.__class__.__name__, col.name) + raise TypeError("%s() did not get expected keyword argument %s" % (self.__class__.__name__, col.name)) parent_kw['childName'] = self.sqlmeta.childName self._parent = parentClass(kw=parent_kw, @@ -426,7 +427,7 @@ addClause = parentClass.q.childName == cls.sqlmeta.childName # if the clause was one of TRUE varians, replace it if (clause is None) or (clause is sqlbuilder.SQLTrueClause) \ - or (isinstance(clause, basestring) and (clause == 'all')): + or (isinstance(clause, str) and (clause == 'all')): clause = addClause else: # patch WHERE condition: @@ -471,11 +472,11 @@ currentClass = cls while currentClass: foreignColumns.update(dict([(column.foreignName, name) - for (name, column) in currentClass.sqlmeta.columns.items() + for (name, column) in list(currentClass.sqlmeta.columns.items()) if column.foreignKey ])) currentClass = currentClass.sqlmeta.parentClass - for name, value in kw.items(): + for name, value in list(kw.items()): if name in foreignColumns: name = foreignColumns[name] # translate "key" to "keyID" if isinstance(value, SQLObject): @@ -485,7 +486,7 @@ try: clause.append(getattr(currentClass.q, name) == value) break - except AttributeError, err: + except AttributeError as err: pass currentClass = currentClass.sqlmeta.parentClass else: RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/index.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/index.py --- ./sqlobject/index.py (original) +++ ./sqlobject/index.py (refactored) @@ -1,6 +1,6 @@ from itertools import count from types import * -from converters import sqlrepr +from .converters import sqlrepr creationOrder = count() @@ -20,15 +20,15 @@ def get(self, *args, **kw): if not self.unique: - raise AttributeError, ( + raise AttributeError( "'%s' object has no attribute 'get' (index is not unique)" % self.name) connection = kw.pop('connection', None) if args and kw: - raise TypeError, "You cannot mix named and unnamed arguments" + raise TypeError("You cannot mix named and unnamed arguments") columns = [d['column'] for d in self.descriptions if 'column' in d] if kw and len(kw) != len(columns) or args and len(args) != len(columns): - raise TypeError, ("get() takes exactly %d argument and an optional " + raise TypeError("get() takes exactly %d argument and an optional " "named argument 'connection' (%d given)" % ( len(columns), len(args)+len(kw))) if args: @@ -65,13 +65,13 @@ columnName = columnName.name colDict = self.soClass.sqlmeta.columns if columnName not in colDict: - for possible in colDict.values(): + for possible in list(colDict.values()): if possible.origName == columnName: column = possible break else: # None found - raise ValueError, "The column by the name %r was not found in the class %r" % (columnName, self.soClass) + raise ValueError("The column by the name %r was not found in the class %r" % (columnName, self.soClass)) else: column = colDict[columnName] desc['column'] = column @@ -153,7 +153,7 @@ def __init__(self, *columns, **kw): kw['columns'] = columns self.kw = kw - self.creationOrder = creationOrder.next() + self.creationOrder = next(creationOrder) def setName(self, value): assert self.kw.get('name') is None, "You cannot change a name after it has already been set (from %s to %s)" % (self.kw['name'], value) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/include/pydispatch/saferef.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/include/pydispatch/saferef.py --- ./sqlobject/include/pydispatch/saferef.py (original) +++ ./sqlobject/include/pydispatch/saferef.py (refactored) @@ -13,7 +13,7 @@ weakref or a BoundMethodWeakref) as argument. """ if hasattr(target, 'im_self'): - if target.im_self is not None: + if target.__self__ is not None: # Turn a bound method into a BoundMethodWeakref instance. # Keep track of these instances for lookup by disconnect(). assert hasattr(target, 'im_func'), """safeRef target %r has im_self, but no im_func, don't know how to create reference"""%( target,) @@ -109,26 +109,26 @@ try: if callable( function ): function( self ) - except Exception, e: + except Exception as e: try: traceback.print_exc() - except AttributeError, err: - print '''Exception during saferef %s cleanup function %s: %s'''%( + except AttributeError as err: + print('''Exception during saferef %s cleanup function %s: %s'''%( self, function, e - ) + )) self.deletionMethods = [onDelete] self.key = self.calculateKey( target ) - self.weakSelf = weakref.ref(target.im_self, remove) - self.weakFunc = weakref.ref(target.im_func, remove) - self.selfName = str(target.im_self) - self.funcName = str(target.im_func.__name__) + self.weakSelf = weakref.ref(target.__self__, remove) + self.weakFunc = weakref.ref(target.__func__, remove) + self.selfName = str(target.__self__) + self.funcName = str(target.__func__.__name__) def calculateKey( cls, target ): """Calculate the reference key for this reference Currently this is a two-tuple of the id()'s of the target object and the target function respectively. """ - return (id(target.im_self),id(target.im_func)) + return (id(target.__self__),id(target.__func__)) calculateKey = classmethod( calculateKey ) def __str__(self): """Give a friendly representation of the object""" @@ -138,7 +138,7 @@ self.funcName, ) __repr__ = __str__ - def __nonzero__( self ): + def __bool__( self ): """Whether we are still a valid reference""" return self() is not None def __cmp__( self, other ): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/include/pydispatch/robustapply.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/include/pydispatch/robustapply.py --- ./sqlobject/include/pydispatch/robustapply.py (original) +++ ./sqlobject/include/pydispatch/robustapply.py (refactored) @@ -15,9 +15,9 @@ has its first argument bound """ if hasattr(receiver, 'im_func'): - return receiver, receiver.im_func.func_code, 1 + return receiver, receiver.__func__.__code__, 1 elif hasattr(receiver, 'func_code'): - return receiver, receiver.func_code, 0 + return receiver, receiver.__code__, 0 elif hasattr(receiver, '__call__'): return function(receiver.__call__) else: @@ -38,7 +38,7 @@ if not (codeObject.co_flags & 8): # fc does not have a **kwds type parameter, therefore # remove unacceptable arguments. - for arg in named.keys(): + for arg in list(named.keys()): if arg not in acceptable: del named[arg] return receiver(*arguments, **named) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/include/pydispatch/robust.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/include/pydispatch/robust.py --- ./sqlobject/include/pydispatch/robust.py (original) +++ ./sqlobject/include/pydispatch/robust.py (refactored) @@ -1,6 +1,6 @@ """Module implementing error-catching version of send (sendRobust)""" -from dispatcher import Any, Anonymous, liveReceivers, getAllReceivers -from robustapply import robustApply +from .dispatcher import Any, Anonymous, liveReceivers, getAllReceivers +from .robustapply import robustApply def sendRobust( signal=Any, @@ -50,7 +50,7 @@ *arguments, **named ) - except Exception, err: + except Exception as err: responses.append((receiver, err)) else: responses.append((receiver, response)) 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 ./sqlobject/include/pydispatch/errors.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/include/pydispatch/errors.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/include/pydispatch/dispatcher.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/include/pydispatch/dispatcher.py --- ./sqlobject/include/pydispatch/dispatcher.py (original) +++ ./sqlobject/include/pydispatch/dispatcher.py (refactored) @@ -25,9 +25,9 @@ deletion, (considerably speeds up the cleanup process vs. the original code.) """ -from __future__ import generators + import types, weakref -import saferef, robustapply, errors +from . import saferef, robustapply, errors __author__ = "Patrick K. O'Brien " __cvsid__ = "$Id: dispatcher.py,v 1.9 2005/09/17 04:55:57 mcfletch Exp $" @@ -379,8 +379,8 @@ backKey = id(receiver) for senderkey in sendersBack.get(backKey,()): try: - signals = connections[senderkey].keys() - except KeyError,err: + signals = list(connections[senderkey].keys()) + except KeyError as err: pass else: for signal in signals: @@ -391,7 +391,7 @@ else: try: receivers.remove( receiver ) - except Exception, err: + except Exception as err: pass _cleanupConnections(senderkey, signal) try: @@ -440,7 +440,7 @@ except KeyError: signals = None else: - items = signals.items() + items = list(signals.items()) def allReceivers( ): for signal,set in items: for item in set: @@ -468,7 +468,7 @@ found = 0 signals = connections.get(signal) if signals is not None: - for sig,recs in connections.get(signal,{}).iteritems(): + for sig,recs in connections.get(signal,{}).items(): if sig != signal: for rec in recs: if rec is oldReceiver: 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 ./sqlobject/include/pydispatch/__init__.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/include/pydispatch/__init__.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/include/hashcol.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/include/hashcol.py --- ./sqlobject/include/hashcol.py (original) +++ ./sqlobject/include/hashcol.py (refactored) @@ -15,7 +15,7 @@ if self.hash is None: return 0 return True - if not isinstance( other, basestring ): + if not isinstance( other, str ): raise TypeError( "A hash may only be compared with a string, or None." ) return cmp( self.hashMethod( other ), self.hash ) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No files need to be modified. 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 ./sqlobject/firebird/firebirdconnection.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/firebird/firebirdconnection.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/firebird/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/firebird/__init__.py --- ./sqlobject/firebird/__init__.py (original) +++ ./sqlobject/firebird/__init__.py (refactored) @@ -1,7 +1,7 @@ from sqlobject.dbconnection import registerConnection def builder(): - import firebirdconnection + from . import firebirdconnection return firebirdconnection.FirebirdConnection registerConnection(['firebird', 'interbase'], builder) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/events.py --- ./sqlobject/events.py (original) +++ ./sqlobject/events.py (refactored) @@ -206,25 +206,25 @@ if sender is None: send_list = [ (deref(dispatcher.senders.get(sid)), listeners) - for sid, listeners in dispatcher.connections.items() + for sid, listeners in list(dispatcher.connections.items()) if deref(dispatcher.senders.get(sid))] for sender, listeners in sorted_items(send_list): real_sender = deref(sender) if not real_sender: continue header = 'Sender: %r' % real_sender - print >> output, (' '*indent) + header - print >> output, (' '*indent) + '='*len(header) + print((' '*indent) + header, file=output) + print((' '*indent) + '='*len(header), file=output) summarize_events_by_sender(real_sender, output=output, indent=indent+2) else: for signal, receivers in sorted_items(dispatcher.connections.get(id(sender), [])): receivers = [deref(r) for r in receivers if deref(r)] header = 'Signal: %s (%i receivers)' % (sort_name(signal), len(receivers)) - print >> output, (' '*indent) + header - print >> output, (' '*indent) + '-'*len(header) + print((' '*indent) + header, file=output) + print((' '*indent) + '-'*len(header), file=output) for receiver in sorted(receivers, key=sort_name): - print >> output, (' '*indent) + ' ' + nice_repr(receiver) + print((' '*indent) + ' ' + nice_repr(receiver), file=output) def deref(value): if isinstance(value, dispatcher.WEAKREF_TYPES): @@ -234,14 +234,14 @@ def sorted_items(a_dict): if isinstance(a_dict, dict): - a_dict = a_dict.items() + a_dict = list(a_dict.items()) return sorted(a_dict, key=lambda t: sort_name(t[0])) def sort_name(value): if isinstance(value, type): return value.__name__ elif isinstance(value, types.FunctionType): - return value.func_name + return value.__name__ else: return str(value) @@ -262,26 +262,26 @@ def _debug_send(signal=dispatcher.Any, sender=dispatcher.Anonymous, *arguments, **named): - print "send %s from %s: %s" % ( - nice_repr(signal), nice_repr(sender), fmt_args(*arguments, **named)) + print("send %s from %s: %s" % ( + nice_repr(signal), nice_repr(sender), fmt_args(*arguments, **named))) return _real_dispatcher_send(signal, sender, *arguments, **named) def _debug_sendExact(signal=dispatcher.Any, sender=dispatcher.Anonymous, *arguments, **named): - print "sendExact %s from %s: %s" % ( - nice_repr(signal), nice_repr(sender), fmt_args(*arguments, **name)) + print("sendExact %s from %s: %s" % ( + nice_repr(signal), nice_repr(sender), fmt_args(*arguments, **name))) return _real_dispatcher_sendExact(signal, sender, *arguments, **named) def _debug_connect(receiver, signal=dispatcher.Any, sender=dispatcher.Any, weak=True): - print "connect %s to %s signal %s" % ( - nice_repr(receiver), nice_repr(signal), nice_repr(sender)) + print("connect %s to %s signal %s" % ( + nice_repr(receiver), nice_repr(signal), nice_repr(sender))) return _real_dispatcher_connect(receiver, signal, sender, weak) def _debug_disconnect(receiver, signal=dispatcher.Any, sender=dispatcher.Any, weak=True): - print "disconnecting %s from %s signal %s" % ( - nice_repr(receiver), nice_repr(signal), nice_repr(sender)) + print("disconnecting %s from %s signal %s" % ( + nice_repr(receiver), nice_repr(signal), nice_repr(sender))) return disconnect(receiver, signal, sender, weak) def fmt_args(*arguments, **name): @@ -294,23 +294,23 @@ """ Like repr(), but nicer for debugging here. """ - if isinstance(v, (types.ClassType, type)): + if isinstance(v, typeRefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/events.py ): return v.__module__ + '.' + v.__name__ elif isinstance(v, types.FunctionType): - if '__name__' in v.func_globals: - if getattr(sys.modules[v.func_globals['__name__']], - v.func_name, None) is v: - return '%s.%s' % (v.func_globals['__name__'], v.func_name) + if '__name__' in v.__globals__: + if getattr(sys.modules[v.__globals__['__name__']], + v.__name__, None) is v: + return '%s.%s' % (v.__globals__['__name__'], v.__name__) return repr(v) elif isinstance(v, types.MethodType): return '%s.%s of %s' % ( - nice_repr(v.im_class), v.im_func.func_name, - nice_repr(v.im_self)) + nice_repr(v.__self__.__class__), v.__func__.__name__, + nice_repr(v.__self__)) else: return repr(v) __all__ = ['listen', 'send'] -for name, value in globals().items(): +for name, value in list(globals().items()): if isinstance(value, type) and issubclass(value, Signal): __all__.append(name) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/declarative.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/declarative.py --- ./sqlobject/declarative.py (original) +++ ./sqlobject/declarative.py (refactored) @@ -33,7 +33,7 @@ """ import copy -import events +from . import events import itertools counter = itertools.count() @@ -71,10 +71,10 @@ def __repr__(self): if self.obj is None: return ('' - % (self.type.__name__, self.func.func_name)) + % (self.type.__name__, self.func.__name__)) else: return ('' - % (self.type.__name__, self.func.func_name, self.obj)) + % (self.type.__name__, self.func.__name__, self.obj)) class DeclarativeMeta(type): @@ -88,24 +88,22 @@ for func in early_funcs: func(cls) if '__classinit__' in new_attrs: - cls.__classinit__ = staticmethod(cls.__classinit__.im_func) + cls.__classinit__ = staticmethod(cls.__classinit__.__func__) cls.__classinit__(cls, new_attrs) for func in post_funcs: func(cls) return cls -class Declarative(object): +class Declarative(object, metaclass=DeclarativeMeta): __unpackargs__ = () __mutableattributes__ = () - __metaclass__ = DeclarativeMeta - __restrict_attributes__ = None def __classinit__(cls, new_attrs): - cls.declarative_count = counter.next() + cls.declarative_count = next(counter) for name in cls.__mutableattributes__: if name not in new_attrs: setattr(cls, copy.copy(getattr(cls, name))) @@ -117,10 +115,10 @@ raise TypeError( '%s() got an unexpected keyword argument %r' % (self.__class__.__name__, name)) - for name, value in new_attrs.items(): + for name, value in list(new_attrs.items()): setattr(self, name, value) if 'declarative_count' not in new_attrs: - self.declarative_count = counter.next() + self.declarative_count = next(counter) def __init__(self, *args, **kw): if self.__unpackargs__ and self.__unpackargs__[0] == '*': @@ -146,7 +144,7 @@ % name) kw[name] = arg if '__alsocopy' in kw: - for name, value in kw['__alsocopy'].items(): + for name, value in list(kw['__alsocopy'].items()): if name not in kw: if name in self.__mutableattributes__: value = copy.copy(value) @@ -180,7 +178,7 @@ del v['declarative_count'] # @@: simplifying repr: #v = {} - names = v.keys() + names = list(v.keys()) args = [] for n in self._repr_vars(names): args.append('%s=%r' % (n, v[n])) @@ -198,7 +196,7 @@ return names def setup_attributes(cls, new_attrs): - for name, value in new_attrs.items(): + for name, value in list(new_attrs.items()): if hasattr(value, '__addtoclass__'): value.__addtoclass__(cls, name) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/dberrors.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/dberrors.py --- ./sqlobject/dberrors.py (original) +++ ./sqlobject/dberrors.py (refactored) @@ -5,8 +5,8 @@ http://www.python.org/topics/database/DatabaseAPI-2.0.html """ -class Error(StandardError): pass -class Warning(StandardError): pass +class Error(Exception): pass +class Warning(Exception): pass class InterfaceError(Error): pass class DatabaseError(Error): pass RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/dbconnection.py --- ./sqlobject/dbconnection.py (original) +++ ./sqlobject/dbconnection.py (refactored) @@ -9,17 +9,17 @@ import sys import threading import types -import urllib +import urllib.request, urllib.parse, urllib.error import warnings import weakref -from cache import CacheSet -import classregistry -import col -from converters import sqlrepr -import main -import sqlbuilder -from util.threadinglocal import local as threading_local +from .cache import CacheSet +from . import classregistry +from . import col +from .converters import sqlrepr +from . import main +from . import sqlbuilder +from .util.threadinglocal import local as threading_local warnings.filterwarnings("ignore", "DB-API extension cursor.lastrowid used") @@ -37,7 +37,7 @@ self.dbEncoding = getattr(connection, "dbEncoding", None) or "ascii" def write(self, text): logfile = getattr(sys, self.loglevel) - if isinstance(text, unicode): + if isinstance(text, str): try: text = text.encode(self.dbEncoding) except UnicodeEncodeError: @@ -114,9 +114,9 @@ def uri(self): auth = getattr(self, 'user', '') or '' if auth: - auth = urllib.quote(auth) + auth = urllib.parse.quote(auth) if self.password: - auth = auth + ':' + urllib.quote(self.password) + auth = auth + ':' + urllib.parse.quote(self.password) auth = auth + '@' else: assert not getattr(self, 'password', None), ( @@ -130,7 +130,7 @@ db = self.db if db.startswith('/'): db = db[1:] - return uri + urllib.quote(db) + return uri + urllib.parse.quote(db) @classmethod def connectionFromOldURI(cls, uri): @@ -170,9 +170,9 @@ try: port = int(port) except ValueError: - raise ValueError, "port must be integer, got '%s' instead" % port + raise ValueError("port must be integer, got '%s' instead" % port) if not (1 <= port <= 65535): - raise ValueError, "port must be integer in the range 1-65535, got '%d' instead" % port + raise ValueError("port must be integer in the range 1-65535, got '%d' instead" % port) host = _host else: port = None @@ -186,15 +186,15 @@ arglist = arglist.split('&') for single in arglist: argname, argvalue = single.split('=', 1) - argvalue = urllib.unquote(argvalue) + argvalue = urllib.parse.unquote(argvalue) args[argname] = argvalue return user, password, host, port, path, args @staticmethod def _parseURI(uri): - protocol, request = urllib.splittype(uri) + protocol, request = urllib.parse.splittype(uri) user, password, port = None, None, None - host, path = urllib.splithost(request) + host, path = urllib.parse.splithost(request) if host: # Python < 2.7 have a problem - splituser() calls unquote() too early @@ -202,17 +202,17 @@ if '@' in host: user, host = host.split('@', 1) if user: - user, password = [x and urllib.unquote(x) or None for x in urllib.splitpasswd(user)] - host, port = urllib.splitport(host) + user, password = [x and urllib.parse.unquote(x) or None for x in urllib.parse.splitpasswd(user)] + host, port = urllib.parse.splitport(host) if port: port = int(port) elif host == '': host = None # hash-tag is splitted but ignored - path, tag = urllib.splittag(path) - path, query = urllib.splitquery(path) - - path = urllib.unquote(path) + path, tag = urllib.parse.splittag(path) + path, query = urllib.parse.splitquery(path) + + path = urllib.parse.unquote(path) if (os.name == 'nt') and (len(path) > 2): # Preserve backward compatibility with URIs like /C|/path; # replace '|' by ':' @@ -285,7 +285,7 @@ "because it takes **kw: %r" % meth) takes_conn = 'connection' in args - meth.im_func.takes_connection = takes_conn + meth.__func__.takes_connection = takes_conn if not takes_conn: return meth return ConnMethodWrapper(meth, self._connection) @@ -366,7 +366,7 @@ if self.debug: self.printDebug(conn, 'auto/exception', 'ROLLBACK') conn.rollback() - raise Exception, 'Object used outside of a transaction; implicit COMMIT or ROLLBACK not allowed' + raise Exception('Object used outside of a transaction; implicit COMMIT or ROLLBACK not allowed') elif self.autoCommit: if self.debug: self.printDebug(conn, 'auto', 'COMMIT') @@ -596,7 +596,7 @@ def _SO_selectOneAlt(self, so, columnNames, condition): if columnNames: - columns = [isinstance(x, basestring) and sqlbuilder.SQLConstant(x) or x for x in columnNames] + columns = [isinstance(x, str) and sqlbuilder.SQLConstant(x) or x for x in columnNames] else: columns = None return self.queryOne(self.sqlrepr(sqlbuilder.Select(columns, @@ -646,7 +646,7 @@ data = {} if 'id' in kw: data[soClass.sqlmeta.idName] = kw.pop('id') - for key, col in soClass.sqlmeta.columns.items(): + for key, col in list(soClass.sqlmeta.columns.items()): if key in kw: value = kw.pop(key) if col.from_python: @@ -660,7 +660,7 @@ data[col.dbName] = obj if kw: # pick the first key from kw to use to raise the error, - raise TypeError, "got an unexpected keyword argument(s): %r" % kw.keys() + raise TypeError("got an unexpected keyword argument(s): %r" % list(kw.keys())) if not data: return None @@ -668,7 +668,7 @@ ['%s %s %s' % (dbName, ops.get(value, "="), self.sqlrepr(value)) for dbName, value - in data.items()]) + in list(data.items())]) def sqlrepr(self, v): return sqlrepr(v, self.dbName) @@ -721,7 +721,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): result = self.cursor.fetchone() if result is None: self._cleanup() @@ -795,9 +795,9 @@ self._deletedCache[cls] = [] self._deletedCache[cls].append(inst.id) try: - meth = new.instancemethod(self._dbConnection._SO_delete.im_func, self, self.__class__) + meth = new.instancemethod(self._dbConnection._SO_delete.__func__, self, self.__class__) except: - meth = newinstancemethod(self._dbConnection._SO_delete.im_func, self) + meth = newinstancemethod(self._dbConnection._SO_delete.__func__, self) return meth(inst) def commit(self, close=False): @@ -807,8 +807,8 @@ if self._dbConnection.debug: self._dbConnection.printDebug(self._connection, '', 'COMMIT') self._connection.commit() - subCaches = [(sub[0], sub[1].allIDs()) for sub in self.cache.allSubCachesByClassNames().items()] - subCaches.extend([(x[0], x[1]) for x in self._deletedCache.items()]) + subCaches = [(sub[0], sub[1].allIDs()) for sub in list(self.cache.allSubCachesByClassNames().items())] + subCaches.extend([(x[0], x[1]) for x in list(self._deletedCache.items())]) for cls, ids in subCaches: for id in ids: inst = self._dbConnection.cache.tryGetByName(id, cls) @@ -842,7 +842,7 @@ self.assertActive() attr = getattr(self._dbConnection, attr) try: - func = attr.im_func + func = attr.__func__ except AttributeError: if isinstance(attr, ConnWrapper): RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/dbconnection.py return ConnWrapper(attr._soClass, self) @@ -1005,9 +1005,9 @@ def connectionForURI(self, uri, oldUri=False, **args): if args: if '?' not in uri: - uri += '?' + urllib.urlencode(args) + uri += '?' + urllib.parse.urlencode(args) else: - uri += '&' + urllib.urlencode(args) + uri += '&' + urllib.parse.urlencode(args) if uri in self.cachedURIs: return self.cachedURIs[uri] if uri.find(':') != -1: @@ -1029,7 +1029,7 @@ def dbConnectionForScheme(self, scheme): assert scheme in self.schemeBuilders, ( "No SQLObject driver exists for %s (only %s)" - % (scheme, ', '.join(self.schemeBuilders.keys()))) + % (scheme, ', '.join(list(self.schemeBuilders.keys())))) return self.schemeBuilders[scheme]() TheURIOpener = ConnectionURIOpener() @@ -1040,11 +1040,11 @@ dbConnectionForScheme = TheURIOpener.dbConnectionForScheme # Register DB URI schemas -import firebird -import maxdb -import mssql -import mysql -import postgres -import rdbhost -import sqlite -import sybase +from . import firebird +from . import maxdb +from . import mssql +from . import mysql +from . import postgres +from . import rdbhost +from . import sqlite +from . import sybase RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/converters.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/converters.py --- ./sqlobject/converters.py (original) +++ ./sqlobject/converters.py (refactored) @@ -79,7 +79,7 @@ return "'%s'" % value registerConverter(str, StringLikeConverter) -registerConverter(unicode, StringLikeConverter) +registerConverter(str, StringLikeConverter) registerConverter(array, StringLikeConverter) registerConverter(buffer, StringLikeConverter) @@ -91,7 +91,7 @@ def LongConverter(value, db): return str(value) -registerConverter(long, LongConverter) +registerConverter(int, LongConverter) if NumericType: registerConverter(NumericType, IntConverter) @@ -182,8 +182,8 @@ except AttributeError: converter = lookupConverter(obj) if converter is None: - raise ValueError, "Unknown SQL builtin type: %s for %s" % \ - (type(obj), repr(obj)) + raise ValueError("Unknown SQL builtin type: %s for %s" % \ + (type(obj), repr(obj))) return converter(obj, db) else: return reprFunc(db) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/constraints.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/constraints.py --- ./sqlobject/constraints.py (original) +++ ./sqlobject/constraints.py (refactored) @@ -25,11 +25,11 @@ raise BadValue("is defined NOT NULL", obj, col, value) def isInt(obj, col, value): - if not isinstance(value, (int, long)): + if not isinstance(value, int): raise BadValue("only allows integers", obj, col, value) def isFloat(obj, col, value): - if not isinstance(value, (int, long, float)): + if not isinstance(value, (int, float)): raise BadValue("only allows floating point numbers", obj, col, value) def isBool(obj, col, value): RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/conftest.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/conftest.py --- ./sqlobject/conftest.py (original) +++ ./sqlobject/conftest.py (refactored) @@ -37,7 +37,7 @@ action="store", dest="Database", default='sqlite', help="The database to run the tests under (default sqlite). " "Can also use an alias from: %s" - % (', '.join(connectionShortcuts.keys()))) + % (', '.join(list(connectionShortcuts.keys())))) parser.addoption('-S', '--SQL', action="store_true", dest="show_sql", default=False, help="Show SQL from statements (when capturing stdout the " RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/col.py --- ./sqlobject/col.py (original) +++ ./sqlobject/col.py (refactored) @@ -24,17 +24,17 @@ import sys import time try: - import cPickle as pickle + import pickle as pickle except ImportError: import pickle import weakref from formencode import compound, validators -from classregistry import findClass +from .classregistry import findClass # Sadly the name "constraints" conflicts with many of the function # arguments in this module, so we rename it: -import constraints as constrs -import sqlbuilder -from styles import capword +from . import constraints as constrs +from . import sqlbuilder +from .styles import capword NoDefault = sqlbuilder.NoDefault @@ -220,7 +220,7 @@ self.dbEncoding = dbEncoding if extra_vars: - for name, value in extra_vars.items(): + for name, value in list(extra_vars.items()): setattr(self, name, value) def _set_validator(self, value): @@ -288,7 +288,7 @@ def _sqlType(self): if self.customSQLType is None: - raise ValueError, ("Col %s (%s) cannot be used for automatic " + raise ValueError("Col %s (%s) cannot be used for automatic " "schema creation (too abstract)" % (self.name, self.__class__)) else: @@ -401,7 +401,7 @@ super(Col, self).__init__() self.__dict__['_name'] = name self.__dict__['_kw'] = kw - self.__dict__['creationOrder'] = creationOrder.next() + self.__dict__['creationOrder'] = next(creationOrder) self.__dict__['_extra_vars'] = {} def _set_name(self, value): @@ -475,7 +475,7 @@ def _check_case_sensitive(self, db): if self.char_binary: - raise ValueError, "%s does not support binary character columns" % db + raise ValueError("%s does not support binary character columns" % db) def _mysqlType(self): type = self._sqlType() @@ -540,14 +540,14 @@ except AttributeError: binaryType = type(None) # Just a simple workaround dbEncoding = self.getDbEncoding(state, default='ascii') - if isinstance(value, unicode): + if isinstance(value, str): return value.encode(dbEncoding) if self.dataType and isinstance(value, self.dataType): return value if isinstance(value, (str, buffer, binaryType, sqlbuilder.SQLExpression)): return value if hasattr(value, '__unicode__'): - return unicode(value).encode(dbEncoding) + return str(value).encode(dbEncoding) raise validators.Invalid("expected a str in the StringCol '%s', got %s %r instead" % \ (self.name, type(value), value), value, state) @@ -565,7 +565,7 @@ class NQuoted(sqlbuilder.SQLExpression): def __init__(self, value): - assert isinstance(value, unicode) + assert isinstance(value, str) self.value = value def __hash__(self): return hash(self.value) @@ -578,14 +578,14 @@ def to_python(self, value, state): if value is None: return None - if isinstance(value, (unicode, sqlbuilder.SQLExpression)): + if isinstance(value, (str, sqlbuilder.SQLExpression)): return value if isinstance(value, str): - return unicode(value, self.getDbEncoding(state)) + return str(value, self.getDbEncoding(state)) if isinstance(value, array): # MySQL - return unicode(value.tostring(), self.getDbEncoding(state)) + return str(value.tostring(), self.getDbEncoding(state)) if hasattr(value, '__unicode__'): - return unicode(value) + return str(value) raise validators.Invalid("expected a str or a unicode in the UnicodeCol '%s', got %s %r instead" % \ (self.name, type(value), value), value, state) @@ -594,7 +594,7 @@ return None if isinstance(value, (str, sqlbuilder.SQLExpression)): return value - if isinstance(value, unicode): + if isinstance(value, str): try: connection = state.connection or state.soObject._connection except AttributeError: @@ -604,7 +604,7 @@ return NQuoted(value) return value.encode(self.getDbEncoding(state)) if hasattr(value, '__unicode__'): - return unicode(value).encode(self.getDbEncoding(state)) + return str(value).encode(self.getDbEncoding(state)) raise validators.Invalid("expected a str or a unicode in the UnicodeCol '%s', got %s %r instead" % \ (self.name, type(value), value), value, state) @@ -627,9 +627,9 @@ def to_python(self, value, state): if value is None: return None - if isinstance(value, (int, long, sqlbuilder.SQLExpression)): + if isinstance(value, (int, sqlbuilder.SQLExpression)): return value - for converter, attr_name in (int, '__int__'), (long, '__long__'): + for converter, attr_name in (int, '__int__'), (int, '__long__'): if hasattr(value, attr_name): try: return converter(value) @@ -710,7 +710,7 @@ return None if isinstance(value, (bool, sqlbuilder.SQLExpression)): return value - if isinstance(value, (int, long)) or hasattr(value, '__nonzero__'): + if isinstance(value, int) or hasattr(value, '__nonzero__'): return bool(value) raise validators.Invalid("expected a bool or an int in the BoolCol '%s', got %s %r instead" % \ (self.name, type(value), value), value, state) @@ -755,9 +755,9 @@ def to_python(self, value, state): if value is None: return None - if isinstance(value, (float, int, long, sqlbuilder.SQLExpression)): + if isinstance(value, (float, int, sqlbuilder.SQLExpression)): return value - for converter, attr_name in (float, '__float__'), (int, '__int__'), (long, '__long__'): + for converter, attr_name in (float, '__float__'), (int, '__int__'), (int, '__long__'): if hasattr(value, attr_name): try: return converter(value) @@ -966,7 +966,7 @@ def to_python(self, value, state): if value in self.enumValues: - if isinstance(value, unicode): + if isinstance(value, str): dbEncoding = self.getDbEncoding(state) value = value.encode(dbEncoding) return value @@ -1002,7 +1002,7 @@ return "ENUM(%s) NOT NULL" % ', '.join([sqlbuilder.sqlrepr(v, 'mysql') for v in self.enumValues]) def _postgresType(self): - length = max(map(self._getlength, self.enumValues)) + length = max(list(map(self._getlength, self.enumValues))) enumValues = ', '.join([sqlbuilder.sqlrepr(v, 'postgres') for v in self.enumValues]) checkConstraint = "CHECK (%s in (%s))" % (self.dbName, enumValues) return "VARCHAR(%i) %s" % (length, checkConstraint) @@ -1016,7 +1016,7 @@ return self._postgresType() def _firebirdType(self): - length = max(map(self._getlength, self.enumValues)) + length = max(list(map(self._getlength, self.enumValues))) enumValues = ', '.join([sqlbuilder.sqlrepr(v, 'firebird') for v in self.enumValues]) checkConstraint = "CHECK (%s in (%s))" % (self.dbName, enumValues) #NB. Return a tuple, not a string here @@ -1050,7 +1050,7 @@ (self.name, type(value), value), value, state) def from_python(self, value, state): - if isinstance(value, basestring): + if isinstance(value, str): value = (value,) try: return ",".join(value) @@ -1386,7 +1386,7 @@ def to_python(self, value, state): if value is None: return None - if isinstance(value, (int, long, Decimal, sqlbuilder.SQLExpression)): + if isinstance(value, (int, Decimal, sqlbuilder.SQLERefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/col.py xpression)): return value if isinstance(value, float): value = str(value) @@ -1408,7 +1408,7 @@ return None if isinstance(value, float): value = str(value) - if isinstance(value, basestring): + if isinstance(value, str): try: connection = state.connection or state.soObject._connection except AttributeError: @@ -1421,7 +1421,7 @@ except: raise validators.Invalid("can not parse Decimal value '%s' in the DecimalCol from '%s'" % (value, getattr(state, 'soObject', '(unknown)')), value, state) - if isinstance(value, (int, long, Decimal, sqlbuilder.SQLExpression)): + if isinstance(value, (int, Decimal, sqlbuilder.SQLExpression)): return value raise validators.Invalid("expected a Decimal in the DecimalCol '%s', got %s %r instead" % \ (self.name, type(value), value), value, state) @@ -1475,7 +1475,7 @@ "Value must be less than %s" % int(self.max) value = value.quantize(self.precision) value = value.to_eng_string() - elif isinstance(value, (int, long)): + elif isinstance(value, int): value = str(value) return value @@ -1597,7 +1597,7 @@ def to_python(self, value, state): if value is None: return None - if isinstance(value, unicode): + if isinstance(value, str): dbEncoding = self.getDbEncoding(state, default='ascii') value = value.encode(dbEncoding) if isinstance(value, str): @@ -1638,7 +1638,7 @@ kw[name] = value all = [] -for key, value in globals().items(): +for key, value in list(globals().items()): if isinstance(value, type) and (issubclass(value, (Col, SOCol))): all.append(key) __all__.extend(all) RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/classregistry.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/classregistry.py --- ./sqlobject/classregistry.py (original) +++ ./sqlobject/classregistry.py (refactored) @@ -66,7 +66,7 @@ ones (like addClassCallback). """ self.genericCallbacks.append((callback, args, kw)) - for cls in self.classes.values(): + for cls in list(self.classes.values()): callback(cls, *args, **kw) def addClass(self, cls): @@ -101,7 +101,7 @@ try: return self.classes[className] except KeyError: - all = self.classes.keys() + all = list(self.classes.keys()) all.sort() raise KeyError( "No class %s found in the registry %s (these classes " @@ -109,7 +109,7 @@ % (className, self.name or '[default]', ', '.join(all))) def allClasses(self): - return self.classes.values() + return list(self.classes.values()) class _MasterRegistry(object): """ RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/cache.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/cache.py --- ./sqlobject/cache.py (original) +++ ./sqlobject/cache.py (refactored) @@ -189,13 +189,13 @@ self.lock.acquire() try: #remove dead references from the expired cache - keys = self.expiredCache.keys() + keys = list(self.expiredCache.keys()) for key in keys: if self.expiredCache[key]() is None: self.expiredCache.pop(key, None) - keys = self.cache.keys() - for i in xrange(self.cullOffset, len(keys), self.cullFraction): + keys = list(self.cache.keys()) + for i in range(self.cullOffset, len(keys), self.cullFraction): id = keys[i] # create a weakref, then remove from the cache obj = ref(self.cache[id]) @@ -246,7 +246,7 @@ return self.lock.acquire() try: - for key, value in self.cache.items(): + for key, value in list(self.cache.items()): self.expiredCache[key] = ref(value) self.cache = {} finally: @@ -257,10 +257,10 @@ Returns the IDs of all objects in the cache. """ if self.doCache: - all = self.cache.keys() + all = list(self.cache.keys()) else: all = [] - for id, value in self.expiredCache.items(): + for id, value in list(self.expiredCache.items()): if value(): all.append(id) return all @@ -270,10 +270,10 @@ Return all the objects in the cache. """ if self.doCache: - all = self.cache.values() + all = list(self.cache.values()) else: all = [] - for value in self.expiredCache.values(): + for value in list(self.expiredCache.values()): if value(): all.append(value()) return all @@ -321,7 +321,7 @@ def clear(self, cls=None): if cls is None: - for cache in self.caches.values(): + for cache in list(self.caches.values()): cache.clear() elif cls.__name__ in self.caches: self.caches[cls.__name__].clear() @@ -342,7 +342,7 @@ return [] def allSubCaches(self): - return self.caches.values() + return list(self.caches.values()) def allSubCachesByClassNames(self): return self.caches @@ -354,7 +354,7 @@ collected. """ if cls is None: - for cache in self.caches.values(): + for cache in list(self.caches.values()): cache.expireAll() elif cls.__name__ in self.caches: self.caches[cls.__name__].expireAll() @@ -366,7 +366,7 @@ """ if cls is None: results = [] - for cache in self.caches.values(): + for cache in list(self.caches.values()): results.extend(cache.getAll()) return results elif cls.__name__ in self.caches: RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/boundattributes.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/boundattributes.py --- ./sqlobject/boundattributes.py (original) +++ ./sqlobject/boundattributes.py (refactored) @@ -26,8 +26,8 @@ __all__ = ['BoundAttribute', 'BoundFactory', 'bind_attributes', 'bind_attributes_local'] -import declarative -import events +from . import declarative +from . import events class BoundAttribute(declarative.Declarative): @@ -72,7 +72,7 @@ def _add_attrs(this_object, new_attrs): private = this_object._private_variables all_attrs = list(this_object._all_attrs) - for key in new_attrs.keys(): + for key in list(new_attrs.keys()): if key.startswith('_') or key in private: continue if key not in all_attrs: 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 ./sqlobject/__version__.py RefactoringTool: Files that need to be modified: RefactoringTool: ./sqlobject/__version__.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./sqlobject/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./sqlobject/__init__.py --- ./sqlobject/__init__.py (original) +++ ./sqlobject/__init__.py (refactored) @@ -1,11 +1,11 @@ """SQLObject""" -from __version__ import version, version_info +from .__version__ import version, version_info -from col import * -from index import * -from joins import * -from main import * -from sqlbuilder import AND, OR, NOT, IN, LIKE, RLIKE, DESC, CONTAINSSTRING, const, func -from styles import * -from dbconnection import connectionForURI -import dberrors +from .col import * +from .index import * +from .joins import * +from .main import * +from .sqlbuilder import AND, OR, NOT, IN, LIKE, RLIKE, DESC, CONTAINSSTRING, const, func +from .styles import * +from .dbconnection import connectionForURI +from . import dberrors 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 ./setup.py RefactoringTool: Files that need to be modified: RefactoringTool: ./setup.py + popd ~/RPM/BUILD/SQLObject-2.0.0 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24692 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SQLObject-2.0.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/sqlobject copying sqlobject/wsgi_middleware.py -> build/lib/sqlobject copying sqlobject/views.py -> build/lib/sqlobject copying sqlobject/styles.py -> build/lib/sqlobject copying sqlobject/sresults.py -> build/lib/sqlobject copying sqlobject/sqlbuilder.py -> build/lib/sqlobject copying sqlobject/main.py -> build/lib/sqlobject copying sqlobject/joins.py -> build/lib/sqlobject copying sqlobject/index.py -> build/lib/sqlobject copying sqlobject/events.py -> build/lib/sqlobject copying sqlobject/declarative.py -> build/lib/sqlobject copying sqlobject/dberrors.py -> build/lib/sqlobject copying sqlobject/dbconnection.py -> build/lib/sqlobject copying sqlobject/converters.py -> build/lib/sqlobject copying sqlobject/constraints.py -> build/lib/sqlobject copying sqlobject/conftest.py -> build/lib/sqlobject copying sqlobject/col.py -> build/lib/sqlobject copying sqlobject/classregistry.py -> build/lib/sqlobject copying sqlobject/cache.py -> build/lib/sqlobject copying sqlobject/boundattributes.py -> build/lib/sqlobject copying sqlobject/__version__.py -> build/lib/sqlobject copying sqlobject/__init__.py -> build/lib/sqlobject creating build/lib/sqlobject/firebird copying sqlobject/firebird/firebirdconnection.py -> build/lib/sqlobject/firebird copying sqlobject/firebird/__init__.py -> build/lib/sqlobject/firebird creating build/lib/sqlobject/include copying sqlobject/include/hashcol.py -> build/lib/sqlobject/include copying sqlobject/include/__init__.py -> build/lib/sqlobject/include creating build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/saferef.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robustapply.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robust.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/errors.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/dispatcher.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/__init__.py -> build/lib/sqlobject/include/pydispatch creating build/lib/sqlobject/inheritance copying sqlobject/inheritance/iteration.py -> build/lib/sqlobject/inheritance copying sqlobject/inheritance/__init__.py -> build/lib/sqlobject/inheritance creating build/lib/sqlobject/manager copying sqlobject/manager/command.py -> build/lib/sqlobject/manager copying sqlobject/manager/__init__.py -> build/lib/sqlobject/manager creating build/lib/sqlobject/maxdb copying sqlobject/maxdb/maxdbconnection.py -> build/lib/sqlobject/maxdb copying sqlobject/maxdb/__init__.py -> build/lib/sqlobject/maxdb creating build/lib/sqlobject/mysql copying sqlobject/mysql/mysqlconnection.py -> build/lib/sqlobject/mysql copying sqlobject/mysql/__init__.py -> build/lib/sqlobject/mysql creating build/lib/sqlobject/mssql copying sqlobject/mssql/mssqlconnection.py -> build/lib/sqlobject/mssql copying sqlobject/mssql/__init__.py -> build/lib/sqlobject/mssql creating build/lib/sqlobject/postgres copying sqlobject/postgres/pgconnection.py -> build/lib/sqlobject/postgres copying sqlobject/postgres/__init__.py -> build/lib/sqlobject/postgres creating build/lib/sqlobject/rdbhost copying sqlobject/rdbhost/rdbhostconnection.py -> build/lib/sqlobject/rdbhost copying sqlobject/rdbhost/__init__.py -> build/lib/sqlobject/rdbhost creating build/lib/sqlobject/sqlite copying sqlobject/sqlite/sqliteconnection.py -> build/lib/sqlobject/sqlite copying sqlobject/sqlite/__init__.py -> build/lib/sqlobject/sqlite creating build/lib/sqlobject/sybase copying sqlobject/sybase/sybaseconnection.py -> build/lib/sqlobject/sybase copying sqlobject/sybase/__init__.py -> build/lib/sqlobject/sybase creating build/lib/sqlobject/util copying sqlobject/util/threadinglocal.py -> build/lib/sqlobject/util copying sqlobject/util/moduleloader.py -> build/lib/sqlobject/util copying sqlobject/util/csvimport.py -> build/lib/sqlobject/util copying sqlobject/util/csvexport.py -> build/lib/sqlobject/util copying sqlobject/util/__init__.py -> build/lib/sqlobject/util creating build/lib/sqlobject/versioning copying sqlobject/versioning/__init__.py -> build/lib/sqlobject/versioning running build_scripts creating build/scripts-2.7 copying and adjusting scripts/sqlobject-admin -> build/scripts-2.7 copying and adjusting scripts/sqlobject-convertOldURI -> build/scripts-2.7 changing mode of build/scripts-2.7/sqlobject-admin from 644 to 755 changing mode of build/scripts-2.7/sqlobject-convertOldURI from 644 to 755 + pushd ../python3-module-SQLObject-2.0.0 ~/RPM/BUILD/python3-module-SQLObject-2.0.0 ~/RPM/BUILD/SQLObject-2.0.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/sqlobject copying sqlobject/__init__.py -> build/lib/sqlobject copying sqlobject/boundattributes.py -> build/lib/sqlobject copying sqlobject/cache.py -> build/lib/sqlobject copying sqlobject/classregistry.py -> build/lib/sqlobject copying sqlobject/col.py -> build/lib/sqlobject copying sqlobject/conftest.py -> build/lib/sqlobject copying sqlobject/constraints.py -> build/lib/sqlobject copying sqlobject/converters.py -> build/lib/sqlobject copying sqlobject/dbconnection.py -> build/lib/sqlobject copying sqlobject/dberrors.py -> build/lib/sqlobject copying sqlobject/declarative.py -> build/lib/sqlobject copying sqlobject/events.py -> build/lib/sqlobject copying sqlobject/index.py -> build/lib/sqlobject copying sqlobject/joins.py -> build/lib/sqlobject copying sqlobject/main.py -> build/lib/sqlobject copying sqlobject/sqlbuilder.py -> build/lib/sqlobject copying sqlobject/sresults.py -> build/lib/sqlobject copying sqlobject/views.py -> build/lib/sqlobject copying sqlobject/wsgi_middleware.py -> build/lib/sqlobject copying sqlobject/styles.py -> build/lib/sqlobject copying sqlobject/__version__.py -> build/lib/sqlobject creating build/lib/sqlobject/firebird copying sqlobject/firebird/__init__.py -> build/lib/sqlobject/firebird copying sqlobject/firebird/firebirdconnection.py -> build/lib/sqlobject/firebird creating build/lib/sqlobject/include copying sqlobject/include/hashcol.py -> build/lib/sqlobject/include copying sqlobject/include/__init__.py -> build/lib/sqlobject/include creating build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/dispatcher.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robust.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/robustapply.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/saferef.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/errors.py -> build/lib/sqlobject/include/pydispatch copying sqlobject/include/pydispatch/__init__.py -> build/lib/sqlobject/include/pydispatch creating build/lib/sqlobject/inheritance copying sqlobject/inheritance/__init__.py -> build/lib/sqlobject/inheritance copying sqlobject/inheritance/iteration.py -> build/lib/sqlobject/inheritance creating build/lib/sqlobject/manager copying sqlobject/manager/command.py -> build/lib/sqlobject/manager copying sqlobject/manager/__init__.py -> build/lib/sqlobject/manager creating build/lib/sqlobject/maxdb copying sqlobject/maxdb/__init__.py -> build/lib/sqlobject/maxdb copying sqlobject/maxdb/maxdbconnection.py -> build/lib/sqlobject/maxdb creating build/lib/sqlobject/mysql copying sqlobject/mysql/__init__.py -> build/lib/sqlobject/mysql copying sqlobject/mysql/mysqlconnection.py -> build/lib/sqlobject/mysql creating build/lib/sqlobject/mssql copying sqlobject/mssql/__init__.py -> build/lib/sqlobject/mssql copying sqlobject/mssql/mssqlconnection.py -> build/lib/sqlobject/mssql creating build/lib/sqlobject/postgres copying sqlobject/postgres/__init__.py -> build/lib/sqlobject/postgres copying sqlobject/postgres/pgconnection.py -> build/lib/sqlobject/postgres creating build/lib/sqlobject/rdbhost copying sqlobject/rdbhost/__init__.py -> build/lib/sqlobject/rdbhost copying sqlobject/rdbhost/rdbhostconnection.py -> build/lib/sqlobject/rdbhost creating build/lib/sqlobject/sqlite copying sqlobject/sqlite/__init__.py -> build/lib/sqlobject/sqlite copying sqlobject/sqlite/sqliteconnection.py -> build/lib/sqlobject/sqlite creating build/lib/sqlobject/sybase copying sqlobject/sybase/__init__.py -> build/lib/sqlobject/sybase copying sqlobject/sybase/sybaseconnection.py -> build/lib/sqlobject/sybase creating build/lib/sqlobject/util copying sqlobject/util/csvexport.py -> build/lib/sqlobject/util copying sqlobject/util/csvimport.py -> build/lib/sqlobject/util copying sqlobject/util/moduleloader.py -> build/lib/sqlobject/util copying sqlobject/util/threadinglocal.py -> build/lib/sqlobject/util copying sqlobject/util/__init__.py -> build/lib/sqlobject/util creating build/lib/sqlobject/versioning copying sqlobject/versioning/__init__.py -> build/lib/sqlobject/versioning running build_scripts creating build/scripts-3.6 copying and adjusting scripts/sqlobject-admin -> build/scripts-3.6 copying and adjusting scripts/sqlobject-convertOldURI -> build/scripts-3.6 changing mode of build/scripts-3.6/sqlobject-admin from 644 to 755 changing mode of build/scripts-3.6/sqlobject-convertOldURI from 644 to 755 + popd ~/RPM/BUILD/SQLObject-2.0.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.32250 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-SQLObject-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-SQLObject-buildroot + cd SQLObject-2.0.0 + pushd ../python3-module-SQLObject-2.0.0 ~/RPM/BUILD/python3-module-SQLObject-2.0.0 ~/RPM/BUILD/SQLObject-2.0.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-SQLObject-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-SQLObject-buildroot creating /usr/src/tmp/python-module-SQLObject-buildroot/usr creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning copying build/lib/sqlobject/versioning/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util copying build/lib/sqlobject/util/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util copying build/lib/sqlobject/util/threadinglocal.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util copying build/lib/sqlobject/util/moduleloader.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util copying build/lib/sqlobject/util/csvimport.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util copying build/lib/sqlobject/util/csvexport.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase copying build/lib/sqlobject/sybase/sybaseconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase copying build/lib/sqlobject/sybase/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite copying build/lib/sqlobject/sqlite/sqliteconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite copying build/lib/sqlobject/sqlite/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost copying build/lib/sqlobject/rdbhost/rdbhostconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost copying build/lib/sqlobject/rdbhost/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres copying build/lib/sqlobject/postgres/pgconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres copying build/lib/sqlobject/postgres/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql copying build/lib/sqlobject/mssql/mssqlconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql copying build/lib/sqlobject/mssql/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql copying build/lib/sqlobject/mysql/mysqlconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql copying build/lib/sqlobject/mysql/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb copying build/lib/sqlobject/maxdb/maxdbconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb copying build/lib/sqlobject/maxdb/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager copying build/lib/sqlobject/manager/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager copying build/lib/sqlobject/manager/command.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance copying build/lib/sqlobject/inheritance/iteration.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance copying build/lib/sqlobject/inheritance/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/errors.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/saferef.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/robustapply.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/robust.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/dispatcher.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include copying build/lib/sqlobject/include/hashcol.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird copying build/lib/sqlobject/firebird/firebirdconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird copying build/lib/sqlobject/firebird/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird copying build/lib/sqlobject/__version__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/styles.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/wsgi_middleware.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/views.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/sresults.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/sqlbuilder.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/main.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/joins.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/index.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/events.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/declarative.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/dberrors.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/dbconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/converters.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/constraints.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/conftest.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/col.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/classregistry.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/cache.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/boundattributes.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject copying build/lib/sqlobject/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/threadinglocal.py to threadinglocal.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py to moduleloader.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvimport.py to csvimport.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py to csvexport.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py to sybaseconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py to sqliteconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/rdbhostconnection.py to rdbhostconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py to pgconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py to mssqlconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py to mysqlconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/maxdbconnection.py to maxdbconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py to command.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/iteration.py to iteration.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/errors.py to errors.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/saferef.py to saferef.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robustapply.py to robustapply.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py to robust.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py to dispatcher.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/hashcol.py to hashcol.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/firebirdconnection.py to firebirdconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__version__.py to __version__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/styles.py to styles.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/wsgi_middleware.py to wsgi_middleware.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py to views.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py to sresults.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py to sqlbuilder.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py to main.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py to joins.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py to index.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/events.py to events.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py to declarative.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dberrors.py to dberrors.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py to dbconnection.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py to converters.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/constraints.py to constraints.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py to conftest.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py to col.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/classregistry.py to classregistry.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/cache.py to cache.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py to boundattributes.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py to __init__.cpython-36.pyc running install_scripts creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin copying build/scripts-3.6/sqlobject-convertOldURI -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin copying build/scripts-3.6/sqlobject-admin -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI to 755 changing mode of /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin to 755 running install_egg_info Writing /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/SQLObject-2.0.0a2-py3.6.egg-info File "/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py", line 39 SyntaxError: can't assign to keyword + pushd /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin ~/tmp/python-module-SQLObject-buildroot/usr/bin ~/RPM/BUILD/python3-module-SQLObject-2.0.0 ~/RPM/BUILD/SQLObject-2.0.0 ++ ls + for f in '`ls`' + 2to3 -wn sqlobject-admin RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored sqlobject-admin RefactoringTool: Files that were modified: RefactoringTool: sqlobject-admin --- sqlobject-admin (original) +++ sqlobject-admin (refactored) @@ -22,12 +22,12 @@ if os.path.exists(updir): sys.path.insert(0, os.path.dirname(updir)) else: - print 'I cannot find the sqlobject module' - print 'If SQLObject is installed, you may need to set $PYTHONPATH' + print('I cannot find the sqlobject module') + print('If SQLObject is installed, you may need to set $PYTHONPATH') sys.exit(3) # Now we have to get rid of possibly stale modules from that import # up there - for name, value in sys.modules.items(): + for name, value in list(sys.modules.items()): if name.startswith('sqlobject'): del sys.modules[name] + mv sqlobject-admin sqlobject-admin-3.6 + ln -s sqlobject-admin-3.6 sqlobject-admin3 + for f in '`ls`' + 2to3 -wn sqlobject-convertOldURI RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored sqlobject-convertOldURI RefactoringTool: Files that were modified: RefactoringTool: sqlobject-convertOldURI --- sqlobject-convertOldURI (original) +++ sqlobject-convertOldURI (refactored) @@ -15,4 +15,4 @@ from sqlobject import connectionForURI conn = connectionForURI(uri, oldUri=True) -print conn.uri() +print(conn.uri()) + mv sqlobject-convertOldURI sqlobject-convertOldURI-3.6 + ln -s sqlobject-convertOldURI-3.6 sqlobject-convertOldURI3 + popd ~/RPM/BUILD/python3-module-SQLObject-2.0.0 ~/RPM/BUILD/SQLObject-2.0.0 + popd ~/RPM/BUILD/SQLObject-2.0.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-SQLObject-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning copying build/lib/sqlobject/versioning/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util copying build/lib/sqlobject/util/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util copying build/lib/sqlobject/util/csvexport.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util copying build/lib/sqlobject/util/csvimport.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util copying build/lib/sqlobject/util/moduleloader.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util copying build/lib/sqlobject/util/threadinglocal.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase copying build/lib/sqlobject/sybase/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase copying build/lib/sqlobject/sybase/sybaseconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite copying build/lib/sqlobject/sqlite/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite copying build/lib/sqlobject/sqlite/sqliteconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost copying build/lib/sqlobject/rdbhost/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost copying build/lib/sqlobject/rdbhost/rdbhostconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres copying build/lib/sqlobject/postgres/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres copying build/lib/sqlobject/postgres/pgconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql copying build/lib/sqlobject/mssql/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql copying build/lib/sqlobject/mssql/mssqlconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql copying build/lib/sqlobject/mysql/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql copying build/lib/sqlobject/mysql/mysqlconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb copying build/lib/sqlobject/maxdb/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb copying build/lib/sqlobject/maxdb/maxdbconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager copying build/lib/sqlobject/manager/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager copying build/lib/sqlobject/manager/command.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance copying build/lib/sqlobject/inheritance/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance copying build/lib/sqlobject/inheritance/iteration.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/dispatcher.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/errors.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/robust.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/robustapply.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/pydispatch/saferef.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch copying build/lib/sqlobject/include/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include copying build/lib/sqlobject/include/hashcol.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include creating /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird copying build/lib/sqlobject/firebird/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird copying build/lib/sqlobject/firebird/firebirdconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird copying build/lib/sqlobject/__init__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/__version__.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/boundattributes.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/cache.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/classregistry.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/col.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/conftest.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/constraints.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/converters.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/dbconnection.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/dberrors.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/declarative.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/events.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/index.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/joins.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/main.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/sqlbuilder.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/sresults.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/styles.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/views.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject copying build/lib/sqlobject/wsgi_middleware.py -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py to csvexport.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvimport.py to csvimport.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.py to moduleloader.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.py to threadinglocal.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py to sybaseconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py to sqliteconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py to rdbhostconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py to pgconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py to mssqlconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py to mysqlconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py to maxdbconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py to command.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py to iteration.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py to dispatcher.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.py to errors.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.py to robust.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.py to robustapply.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/saferef.py to saferef.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.py to hashcol.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py to firebirdconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__version__.py to __version__.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py to boundattributes.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/cache.py to cache.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/classregistry.py to classregistry.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py to col.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py to conftest.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/constraints.py to constraints.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py to converters.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py to dbconnection.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dberrors.py to dberrors.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/declarative.py to declarative.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.py to events.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/index.py to index.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py to joins.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py to main.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py to sqlbuilder.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py to sresults.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/styles.py to styles.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.py to views.pyc byte-compiling /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/wsgi_middleware.py to wsgi_middleware.pyc running install_scripts copying build/scripts-2.7/sqlobject-convertOldURI -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin copying build/scripts-2.7/sqlobject-admin -> /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI to 755 changing mode of /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin to 755 running install_egg_info Writing /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/SQLObject-2.0.0a2-py2.7.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-SQLObject-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-SQLObject-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-SQLObject-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-SQLObject-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-SQLObject-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-SQLObject-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-SQLObject-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/saferef.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/saferef.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvimport.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvimport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning/__init__.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning/__init__.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__version__.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/cache.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/classregistry.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/constraints.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dberrors.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/declarative.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/index.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/styles.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/wsgi_middleware.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__version__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/cache.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/classregistry.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/constraints.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dberrors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/declarative.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/index.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/styles.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/wsgi_middleware.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-SQLObject-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/saferef.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvimport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__version__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/cache.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/classregistry.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/constraints.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dberrors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/declarative.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/index.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/styles.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/wsgi_middleware.py Bytecompiling python3 modules in /usr/src/tmp/python-module-SQLObject-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/__version__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/boundattributes.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/cache.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/classregistry.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/col.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/conftest.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/constraints.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/converters.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/dbconnection.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/dberrors.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/declarative.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/events.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/index.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/joins.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/main.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/sqlbuilder.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/sresults.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/styles.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/views.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__pycache__/wsgi_middleware.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/firebirdconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/firebirdconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__pycache__/hashcol.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/errors.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robust.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robustapply.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/saferef.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py can't be compiled : File "/usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py", line 39 True = 1==1 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/errors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robustapply.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/saferef.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/hashcol.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/iteration.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/iteration.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__pycache__/command.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/maxdbconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/maxdbconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/mssqlconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/mysqlconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/pgconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/rdbhostconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/rdbhostconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/sqliteconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/sybaseconnection.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__pycache__/csvexport.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__pycache__/csvimport.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__pycache__/moduleloader.cpython-36.pyc unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__pycache__/threadinglocal.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvimport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/threadinglocal.py unlink /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning/__pycache__/__init__.cpython-36.pyc compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__version__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/cache.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/classregistry.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/constraints.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dberrors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/events.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/styles.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/wsgi_middleware.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-SQLObject-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/firebirdconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py can't be compiled : File "/usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py", line 39 True = 1==1 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/errors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robustapply.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/saferef.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/hashcol.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/iteration.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/maxdbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/rdbhostconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvimport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/threadinglocal.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__version__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/cache.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/classregistry.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/constraints.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dberrors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/events.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/styles.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/wsgi_middleware.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-SQLObject-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/firebirdconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py can't be compiled : File "/usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py", line 39 True = 1==1 ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/errors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robustapply.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/saferef.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/hashcol.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/iteration.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/maxdbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/rdbhostconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvimport.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/threadinglocal.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/versioning/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__version__.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/cache.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/classregistry.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/constraints.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dberrors.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/events.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/styles.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py compile /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/wsgi_middleware.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/sqlobject/__pycache__/views.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/views.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/styles.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/styles.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/joins.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/joins.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/events.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/events.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/dberrors.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/dberrors.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/converters.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/converters.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/constraints.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/constraints.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/conftest.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/conftest.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/classregistry.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/classregistry.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/cache.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/cache.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/boundattributes.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/boundattributes.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/__version__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/__version__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/__version__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/__version__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/firebirdconnection.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/firebirdconnection.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/firebird/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/include/__pycache__/hashcol.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/__pycache__/hashcol.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/include/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/include/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/include/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robustapply.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robustapply.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robust.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/robust.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/errors.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/errors.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/include/pydispatch/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/iteration.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/iteration.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/inheritance/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/manager/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/manager/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/manager/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/manager/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/maxdbconnection.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/maxdbconnection.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/maxdb/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/mysqlconnection.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/mysqlconnection.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/mysqlconnection.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/mysqlconnection.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/mysql/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/mssqlconnection.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/mssqlconnection.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/mssql/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/postgres/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/rdbhost/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/sqliteconnection.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/sqliteconnection.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/sqlite/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/sybaseconnection.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/sybaseconnection.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/sybase/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/threadinglocal.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/threadinglocal.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/threadinglocal.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/threadinglocal.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/moduleloader.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/moduleloader.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/moduleloader.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/moduleloader.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/csvimport.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/csvimport.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlobject/util/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/util/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/sqlobject/versioning/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlobject/versioning/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/sqlobject/views.pyo' => './usr/lib/python2.7/site-packages/sqlobject/views.pyc' './usr/lib/python2.7/site-packages/sqlobject/styles.pyo' => './usr/lib/python2.7/site-packages/sqlobject/styles.pyc' './usr/lib/python2.7/site-packages/sqlobject/events.pyo' => './usr/lib/python2.7/site-packages/sqlobject/events.pyc' './usr/lib/python2.7/site-packages/sqlobject/dberrors.pyo' => './usr/lib/python2.7/site-packages/sqlobject/dberrors.pyc' './usr/lib/python2.7/site-packages/sqlobject/constraints.pyo' => './usr/lib/python2.7/site-packages/sqlobject/constraints.pyc' './usr/lib/python2.7/site-packages/sqlobject/conftest.pyo' => './usr/lib/python2.7/site-packages/sqlobject/conftest.pyc' './usr/lib/python2.7/site-packages/sqlobject/classregistry.pyo' => './usr/lib/python2.7/site-packages/sqlobject/classregistry.pyc' './usr/lib/python2.7/site-packages/sqlobject/cache.pyo' => './usr/lib/python2.7/site-packages/sqlobject/cache.pyc' './usr/lib/python2.7/site-packages/sqlobject/boundattributes.pyo' => './usr/lib/python2.7/site-packages/sqlobject/boundattributes.pyc' './usr/lib/python2.7/site-packages/sqlobject/__version__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/__version__.pyc' './usr/lib/python2.7/site-packages/sqlobject/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.pyo' => './usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.pyc' './usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/hashcol.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/hashcol.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robustapply.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/errors.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.pyc' './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.pyo' => './usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.pyc' './usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/manager/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/manager/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.pyo' => './usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.pyc' './usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.pyo' => './usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.pyc' './usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.pyo' => './usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.pyc' './usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.pyo' => './usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.pyc' './usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.pyc' './usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.pyo' => './usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.pyc' './usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.pyo' => './usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.pyc' './usr/lib/python2.7/site-packages/sqlobject/util/csvimport.pyo' => './usr/lib/python2.7/site-packages/sqlobject/util/csvimport.pyc' './usr/lib/python2.7/site-packages/sqlobject/util/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlobject/util/__init__.pyc' Processing files: python-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.87558 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SQLObject-2.0.0 + DOCDIR=/usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + /bin/mkdir -p /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + cp -prL README.txt /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + chmod -R go-w /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + chmod -R a+rX /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-2.0.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6ONjgp 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.TMRajt find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin: line=6 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin: line=13 IGNORE (for REQ=slight and deep=8) module=sqlobject python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI: line=11 IGNORE (for REQ=slight and deep=8) module=pkg_resources python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding __version__, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding col, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding index, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding joins, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding main, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding styles, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding dbconnection, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/__init__.py: hiding dberrors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py: hiding declarative, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/boundattributes.py: hiding events, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/classregistry.py: line=79 IGNORE (for REQ=slight and deep=15) module=sys python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: line=27 IGNORE (for REQ=slight and deep=8) module=cPickle /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: line=29 IGNORE (for REQ=slight and deep=8) module=pickle python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: hiding classregistry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: hiding constraints, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: hiding styles, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: line=45 IGNORE (for REQ=slight and deep=8) module=mx /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/col.py: line=48 IGNORE (for REQ=slight and deep=12) module=DateTime python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py: line=15 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/conftest.py: line=72 IGNORE (for REQ=slight and deep=12) module=sqlobject python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py: line=10 IGNORE (for REQ=slight and deep=8) module=mx /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py: line=13 IGNORE (for REQ=slight and deep=12) module=DateTime /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/converters.py: line=19 IGNORE (for REQ=slight and deep=8) module=Sybase /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: line=5 IGNORE (for REQ=slight and deep=8) module=new /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: line=7 IGNORE (for REQ=slight and deep=8) module=types python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: skipping sys python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding cache, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding classregistry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding col, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding converters, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding main, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding util, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: line=58 IGNORE (for REQ=slight and deep=8) module=logging python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding firebird, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding maxdb, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding mssql, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding mysql, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding postgres, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding rdbhost, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding sqlite, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py: hiding sybase, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/declarative.py: hiding events, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.py: skipping sys python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/events.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=firebirdconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/firebird/firebirdconnection.py: line=22 IGNORE (for REQ=slight and deep=15) module=kinterbasdb python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/hashcol.py: line=45 IGNORE (for REQ=slight and deep=15) module=hashlib python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py: hiding saferef, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py: hiding robustapply, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/dispatcher.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.py: hiding dispatcher, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/include/pydispatch/robust.py: hiding robustapply, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/index.py: hiding converters, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/__init__.py: hiding iteration, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/inheritance/iteration.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding classregistry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding events, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding styles, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding styles, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/joins.py: hiding boundattributes, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding dbconnection, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding col, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding styles, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding joins, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding index, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding classregistry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding declarative, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding events, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding sresults, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: hiding util, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/main.py: line=1677 IGNORE (for REQ=slight and deep=15) module=pickle python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: line=13 IGNORE (for REQ=slight and deep=8) module=paste python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: line=414 IGNORE (for REQ=slight and deep=11) module=ConfigParser /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py: line=502 IGNORE (for REQ=slight and deep=11) module=pkg_resources python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=maxdbconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/maxdb/maxdbconnection.py: line=65 IGNORE (for REQ=slight and deep=11) module=sapdb python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=mssqlconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py: line=22 IGNORE (for REQ=slight and deep=23) module=adodbapi /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mssql/mssqlconnection.py: line=24 IGNORE (for REQ=slight and deep=23) module=pymssql python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/__init__.py: line=5 IGNORE (for REQ=slight and deep=8) module=mysqlconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/mysql/mysqlconnection.py: line=61 IGNORE (for REQ=slight and deep=15) module=MySQLdb python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=pgconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: line=35 IGNORE (for REQ=slight and deep=23) module=psycopg2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: line=37 IGNORE (for REQ=slight and deep=23) module=psycopg /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: line=40 IGNORE (for REQ=slight and deep=27) module=psycopg2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: line=42 IGNORE (for REQ=slight and deep=27) module=psycopg /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py: line=44 IGNORE (for REQ=slight and deep=23) module=pgdb python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=rdbhostconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/rdbhost/rdbhostconnection.py: line=30 IGNORE (for REQ=slight and deep=23) module=rdbhdb python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py: hiding classregistry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py: hiding converters, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py: line=700 IGNORE (for REQ=slight and deep=15) module=dbconnection /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlbuilder.py: line=849 IGNORE (for REQ=slight and deep=8) module=sresults python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=sqliteconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: skipping thread python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: line=33 IGNORE (for REQ=slight and deep=23) module=pysqlite2 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: line=36 IGNORE (for REQ=slight and deep=23) module=sqlite3 /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: line=39 IGNORE (for REQ=slight and deep=23) module=sqlite /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sqlite/sqliteconnection.py: line=373 IGNORE (for REQ=slight and deep=15) module=re python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py: hiding dbconnection, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py: hiding joins, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py: hiding main, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sresults.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/__init__.py: line=4 IGNORE (for REQ=slight and deep=8) module=sybaseconnection python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py: line=14 IGNORE (for REQ=slight and deep=11) module=Sybase /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py: line=17 IGNORE (for REQ=slight and deep=15) module=Sybase /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/sybase/sybaseconnection.py: line=19 IGNORE (for REQ=slight and deep=15) module=sqlobject /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py: line=7 IGNORE (for REQ=slight and deep=8) module=cStringIO /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py: line=9 IGNORE (for REQ=slight and deep=8) module=StringIO python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/csvexport.py: line=151 IGNORE (for REQ=slight and deep=8) module=zipfile python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.py: skipping sys python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/moduleloader.py: skipping imp /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/util/threadinglocal.py: line=2 IGNORE (for REQ=slight and deep=8) module=threading python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/versioning/__init__.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.py: hiding sqlbuilder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/views.py: hiding main, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/wsgi_middleware.py: hiding sqlobject, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python2.7/site-packages/sqlobject/manager/command.py is not executable Provides: python2.7-module-sqlobject = 2.0.0-alt1.a2dev.20141028.1.2, python2.7(sqlobject), python2.7(sqlobject.__version__), python2.7(sqlobject.boundattributes), python2.7(sqlobject.cache), python2.7(sqlobject.classregistry), python2.7(sqlobject.col), python2.7(sqlobject.conftest), python2.7(sqlobject.constraints), python2.7(sqlobject.converters), python2.7(sqlobject.dbconnection), python2.7(sqlobject.dberrors), python2.7(sqlobject.declarative), python2.7(sqlobject.events), python2.7(sqlobject.firebird), python2.7(sqlobject.firebird.firebirdconnection), python2.7(sqlobject.include), python2.7(sqlobject.include.hashcol), python2.7(sqlobject.include.pydispatch), python2.7(sqlobject.include.pydispatch.dispatcher), python2.7(sqlobject.include.pydispatch.errors), python2.7(sqlobject.include.pydispatch.robust), python2.7(sqlobject.include.pydispatch.robustapply), python2.7(sqlobject.include.pydispatch.saferef), python2.7(sqlobject.index), python2.7(sqlobject.inheritance), python2.7(sqlobject.inheritance.iteration), python2.7(sqlobject.joins), python2.7(sqlobject.main), python2.7(sqlobject.manager), python2.7(sqlobject.manager.command), python2.7(sqlobject.maxdb), python2.7(sqlobject.maxdb.maxdbconnection), python2.7(sqlobject.mssql), python2.7(sqlobject.mssql.mssqlconnection), python2.7(sqlobject.mysql), python2.7(sqlobject.mysql.mysqlconnection), python2.7(sqlobject.postgres), python2.7(sqlobject.postgres.pgconnection), python2.7(sqlobject.rdbhost), python2.7(sqlobject.rdbhost.rdbhostconnection), python2.7(sqlobject.sqlbuilder), python2.7(sqlobject.sqlite), python2.7(sqlobject.sqlite.sqliteconnection), python2.7(sqlobject.sresults), python2.7(sqlobject.styles), python2.7(sqlobject.sybase), python2.7(sqlobject.sybase.sybaseconnection), python2.7(sqlobject.util), python2.7(sqlobject.util.csvexport), python2.7(sqlobject.util.csvimport), python2.7(sqlobject.util.moduleloader), python2.7(sqlobject.util.threadinglocal), python2.7(sqlobject.versioning), python2.7(sqlobject.views), python2.7(sqlobject.wsgi_middleware) Requires: python = 2.7, /usr/bin/python2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(formencode), python2.7(inspect), python2.7(paste), python2.7(py) Processing files: python3-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.43073 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SQLObject-2.0.0 + DOCDIR=/usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + /bin/mkdir -p /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + cp -prL README.txt /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + chmod -R go-w /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + chmod -R a+rX /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python3-module-SQLObject-2.0.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jUUuHR 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.5FSClW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin-3.6: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin-3.6: line=6 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin-3.6: line=13 IGNORE (for REQ=slight and deep=8) module=sqlobject.manager python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI-3.6: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI-3.6: line=11 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/__init__.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/boundattributes.py: line=30 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/cache.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/classregistry.py: line=79 IGNORE (for REQ=slight and deep=15) module=sys python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: skipping itertools python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: skipping sys python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=27 IGNORE (for REQ=slight and deep=8) module=pickle /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=29 IGNORE (for REQ=slight and deep=8) module=pickle /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=32 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=35 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=36 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=37 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=45 IGNORE (for REQ=slight and deep=8) module=mx /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/col.py: line=48 IGNORE (for REQ=slight and deep=12) module=DateTime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py: line=15 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/conftest.py: line=72 IGNORE (for REQ=slight and deep=12) module=sqlobject python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py: skipping sys python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py: line=10 IGNORE (for REQ=slight and deep=8) module=mx.DateTime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py: line=13 IGNORE (for REQ=slight and deep=12) module=DateTime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/converters.py: line=19 IGNORE (for REQ=slight and deep=8) module=Sybase python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: skipping atexit /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=5 IGNORE (for REQ=slight and deep=8) module=new /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=7 IGNORE (for REQ=slight and deep=8) module=types python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=19 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=20 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=22 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=58 IGNORE (for REQ=slight and deep=8) module=logging /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1043 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1044 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1045 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1046 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1047 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1048 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1049 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/dbconnection.py: line=1050 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py: line=36 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/declarative.py: skipping itertools python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/events.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/firebird/firebirdconnection.py: line=22 IGNORE (for REQ=slight and deep=15) module=kinterbasdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/hashcol.py: line=45 IGNORE (for REQ=slight and deep=15) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/dispatcher.py: line=30 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/include/pydispatch/robust.py: line=3 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py: skipping itertools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/index.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/inheritance/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: skipping itertools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/joins.py: line=335 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=31 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=32 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=33 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=34 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=37 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=38 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=39 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=40 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=41 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=42 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=43 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/main.py: line=1673 IGNORE (for REQ=slight and deep=15) module=pickle python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py: skipping sys python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py: line=13 IGNORE (for REQ=slight and deep=8) module=paste.deploy /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py: line=412 IGNORE (for REQ=slight and deep=11) module=configparser /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py: line=499 IGNORE (for REQ=slight and deep=11) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/maxdb/maxdbconnection.py: line=65 IGNORE (for REQ=slight and deep=11) module=sapdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py: line=22 IGNORE (for REQ=slight and deep=23) module=adodbapi /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mssql/mssqlconnection.py: line=24 IGNORE (for REQ=slight and deep=23) module=pymssql /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb.constants.CR /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py: line=20 IGNORE (for REQ=slight and deep=11) module=MySQLdb.constants.ER /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/mysql/mysqlconnection.py: line=61 IGNORE (for REQ=slight and deep=15) module=MySQLdb.connections /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py: line=35 IGNORE (for REQ=slight and deep=23) module=psycopg2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py: line=37 IGNORE (for REQ=slight and deep=23) module=psycopg /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py: line=40 IGNORE (for REQ=slight and deep=27) module=psycopg2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py: line=42 IGNORE (for REQ=slight and deep=27) module=psycopg /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/postgres/pgconnection.py: line=44 IGNORE (for REQ=slight and deep=23) module=pgdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/rdbhost/rdbhostconnection.py: line=30 IGNORE (for REQ=slight and deep=23) module=rdbhdb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py: line=70 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py: line=71 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py: line=700 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlbuilder.py: line=849 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py: skipping _thread /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py: line=33 IGNORE (for REQ=slight and deep=23) module=pysqlite2 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py: line=36 IGNORE (for REQ=slight and deep=23) module=sqlite3 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py: line=39 IGNORE (for REQ=slight and deep=23) module=sqlite /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sqlite/sqliteconnection.py: line=373 IGNORE (for REQ=slight and deep=15) module=re /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sresults.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py: line=14 IGNORE (for REQ=slight and deep=11) module=Sybase /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py: line=17 IGNORE (for REQ=slight and deep=15) module=Sybase /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/sybase/sybaseconnection.py: line=19 IGNORE (for REQ=slight and deep=15) module=sqlobject.converters /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py: line=7 IGNORE (for REQ=slight and deep=8) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py: line=9 IGNORE (for REQ=slight and deep=8) module=io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/csvexport.py: line=151 IGNORE (for REQ=slight and deep=8) module=zipfile python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [321, [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [322, [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 UNABLE to determine the imported name at parse-time: module_name /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/moduleloader.py: line=5 a form of __import__ was read which gave no deps: [323, [324, [1, '__import__', 5]], [326, [7, '(', 5], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module_name', 5]]]]]]]]]]]]]]]]]], [8, ')', 5]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/util/threadinglocal.py: line=2 IGNORE (for REQ=slight and deep=8) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/views.py: line=2 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin3: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin3: line=6 IGNORE (for REQ=slight and deep=8) module=pkg_resources /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-admin3: line=13 IGNORE (for REQ=slight and deep=8) module=sqlobject.manager python3.req: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI3: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-SQLObject-buildroot/usr/bin/sqlobject-convertOldURI3: line=11 IGNORE (for REQ=slight and deep=8) module=pkg_resources shebang.req.files: executable script /usr/src/tmp/python-module-SQLObject-buildroot/usr/lib/python3/site-packages/sqlobject/manager/command.py is not executable Provides: python3(sqlobject), python3(sqlobject.__version__), python3(sqlobject.boundattributes), python3(sqlobject.cache), python3(sqlobject.classregistry), python3(sqlobject.col), python3(sqlobject.conftest), python3(sqlobject.constraints), python3(sqlobject.converters), python3(sqlobject.dbconnection), python3(sqlobject.dberrors), python3(sqlobject.declarative), python3(sqlobject.events), python3(sqlobject.firebird), python3(sqlobject.firebird.firebirdconnection), python3(sqlobject.include), python3(sqlobject.include.hashcol), python3(sqlobject.include.pydispatch), python3(sqlobject.include.pydispatch.dispatcher), python3(sqlobject.include.pydispatch.errors), python3(sqlobject.include.pydispatch.robust), python3(sqlobject.include.pydispatch.robustapply), python3(sqlobject.include.pydispatch.saferef), python3(sqlobject.index), python3(sqlobject.inheritance), python3(sqlobject.inheritance.iteration), python3(sqlobject.joins), python3(sqlobject.main), python3(sqlobject.manager), python3(sqlobject.manager.command), python3(sqlobject.maxdb), python3(sqlobject.maxdb.maxdbconnection), python3(sqlobject.mssql), python3(sqlobject.mssql.mssqlconnection), python3(sqlobject.mysql), python3(sqlobject.mysql.mysqlconnection), python3(sqlobject.postgres), python3(sqlobject.postgres.pgconnection), python3(sqlobject.rdbhost), python3(sqlobject.rdbhost.rdbhostconnection), python3(sqlobject.sqlbuilder), python3(sqlobject.sqlite), python3(sqlobject.sqlite.sqliteconnection), python3(sqlobject.sresults), python3(sqlobject.styles), python3(sqlobject.sybase), python3(sqlobject.sybase.sybaseconnection), python3(sqlobject.util), python3(sqlobject.util.csvexport), python3(sqlobject.util.csvimport), python3(sqlobject.util.moduleloader), python3(sqlobject.util.threadinglocal), python3(sqlobject.versioning), python3(sqlobject.views), python3(sqlobject.wsgi_middleware) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(array) < 0, python3(base64) < 0, python3(cgi) < 0, python3(copy) < 0, python3(csv) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(fnmatch) < 0, python3(formencode) < 0, python3(functools) < 0, python3(imp) < 0, python3(inspect) < 0, python3(operator) < 0, python3(optparse) < 0, python3(os) < 0, python3(paste.deploy.converters) < 0, python3(paste.util) < 0, python3(paste.wsgilib) < 0, python3(py) < 0, python3(re) < 0, python3(textwrap) < 0, python3(threading) < 0, python3(traceback) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(warnings) < 0, python3(weakref) < 0 Processing files: python-module-SQLObject-doc-2.0.0-alt1.a2dev.20141028.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.67302 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SQLObject-2.0.0 + DOCDIR=/usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + /bin/mkdir -p /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + cp -prL docs/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt docs/Inheritance.txt docs/LICENSE docs/News.txt docs/SQLBuilder.txt docs/SQLObject.txt docs/SelectResults.txt docs/TODO.txt docs/Versioning.txt docs/Views.txt docs/community.txt docs/default.css docs/download.txt docs/index.txt docs/links.txt docs/sqlobject-admin.txt /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + chmod -R go-w /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + chmod -R a+rX /usr/src/tmp/python-module-SQLObject-buildroot/usr/share/doc/python-module-SQLObject-doc-2.0.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yCUGgv 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.G4UXtJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Wrote: /usr/src/RPM/RPMS/noarch/python-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-SQLObject-2.0.0-alt1.a2dev.20141028.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-SQLObject-doc-2.0.0-alt1.a2dev.20141028.1.2.noarch.rpm 83.96user 2.30system 2:10.41elapsed 66%CPU (0avgtext+0avgdata 22576maxresident)k 0inputs+0outputs (0major+582708minor)pagefaults 0swaps 98.17user 6.47system 2:31.76elapsed 68%CPU (0avgtext+0avgdata 123036maxresident)k 0inputs+0outputs (0major+1195571minor)pagefaults 0swaps