<86>Feb 15 09:12:53 userdel[2456833]: delete user 'rooter' <86>Feb 15 09:12:53 userdel[2456833]: removed group 'rooter' owned by 'rooter' <86>Feb 15 09:12:53 userdel[2456833]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 15 09:12:53 groupadd[2456839]: group added to /etc/group: name=rooter, GID=696 <86>Feb 15 09:12:53 groupadd[2456839]: group added to /etc/gshadow: name=rooter <86>Feb 15 09:12:53 groupadd[2456839]: new group: name=rooter, GID=696 <86>Feb 15 09:12:53 useradd[2456845]: new user: name=rooter, UID=696, GID=696, home=/root, shell=/bin/bash <86>Feb 15 09:12:53 userdel[2456865]: delete user 'builder' <86>Feb 15 09:12:53 userdel[2456865]: removed group 'builder' owned by 'builder' <86>Feb 15 09:12:53 userdel[2456865]: removed shadow group 'builder' owned by 'builder' <86>Feb 15 09:12:53 groupadd[2457136]: group added to /etc/group: name=builder, GID=697 <86>Feb 15 09:12:53 groupadd[2457136]: group added to /etc/gshadow: name=builder <86>Feb 15 09:12:53 groupadd[2457136]: new group: name=builder, GID=697 <86>Feb 15 09:12:53 useradd[2457243]: new user: name=builder, UID=697, GID=697, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-WebDAV-0.4.2-alt3.src.rpm: license not found in '/usr/share/license' directory: ASLv2.0 <13>Feb 15 09:12:58 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 15 09:12:58 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Feb 15 09:12:58 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 15 09:12:58 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 15 09:12:58 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 15 09:12:58 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed <13>Feb 15 09:12:58 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 15 09:12:58 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 15 09:12:58 rpmi: libcrypto1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 15 09:12:58 rpmi: libssl1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 15 09:12:58 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 09:12:59 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 09:12:59 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 09:12:59 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 15 09:12:59 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 15 09:13:03 rpmi: python-modules-compiler-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:03 rpmi: python-modules-email-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:03 rpmi: python-modules-unittest-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-modules-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-modules-encodings-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-modules-ctypes-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-modules-multiprocessing-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-modules-logging-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Feb 15 09:13:04 rpmi: python-tools-2to3-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-WebDAV-0.4.2-alt3.nosrc.rpm (w1.gzdio) <13>Feb 15 09:13:05 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Feb 15 09:13:05 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Feb 15 09:13:05 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Feb 15 09:13:05 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 15 09:13:05 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed Installing python3-module-WebDAV-0.4.2-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70423 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-WebDAV-0.4.2 + echo 'Source #0 (python3-module-WebDAV-0.4.2.tar):' Source #0 (python3-module-WebDAV-0.4.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-WebDAV-0.4.2.tar + cd python3-module-WebDAV-0.4.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (port-on-python3.patch):' Patch #0 (port-on-python3.patch): + /usr/bin/patch -p2 patching file setup.py patching file src/uuid_.py patching file src/webdav/Condition.py patching file src/webdav/WebdavResponse.py + find -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./src/uuid_.py --- ./src/uuid_.py (original) +++ ./src/uuid_.py (refactored) @@ -137,33 +137,33 @@ raise ValueError('fields is not a 6-tuple') (time_low, time_mid, time_hi_version, clock_seq_hi_variant, clock_seq_low, node) = fields - if not 0 <= time_low < 1<<32L: + if not 0 <= time_low < 1<<32: raise ValueError('field 1 out of range (need a 32-bit value)') - if not 0 <= time_mid < 1<<16L: + if not 0 <= time_mid < 1<<16: raise ValueError('field 2 out of range (need a 16-bit value)') - if not 0 <= time_hi_version < 1<<16L: + if not 0 <= time_hi_version < 1<<16: raise ValueError('field 3 out of range (need a 16-bit value)') - if not 0 <= clock_seq_hi_variant < 1<<8L: + if not 0 <= clock_seq_hi_variant < 1<<8: raise ValueError('field 4 out of range (need an 8-bit value)') - if not 0 <= clock_seq_low < 1<<8L: + if not 0 <= clock_seq_low < 1<<8: raise ValueError('field 5 out of range (need an 8-bit value)') - if not 0 <= node < 1<<48L: + if not 0 <= node < 1<<48: raise ValueError('field 6 out of range (need a 48-bit value)') - clock_seq = (clock_seq_hi_variant << 8L) | clock_seq_low - int = ((time_low << 96L) | (time_mid << 80L) | - (time_hi_version << 64L) | (clock_seq << 48L) | node) + clock_seq = (clock_seq_hi_variant << 8) | clock_seq_low + int = ((time_low << 96) | (time_mid << 80) | + (time_hi_version << 64) | (clock_seq << 48) | node) if int is not None: - if not 0 <= int < 1<<128L: + if not 0 <= int < 1<<128: raise ValueError('int is out of range (need a 128-bit value)') if version is not None: if not 1 <= version <= 5: raise ValueError('illegal version number') # Set the variant to RFC 4122. - int &= ~(0xc000 << 48L) - int |= 0x8000 << 48L + int &= ~(0xc000 << 48) + int |= 0x8000 << 48 # Set the version number. - int &= ~(0xf000 << 64L) - int |= version << 76L + int &= ~(0xf000 << 64) + int |= version << 76 self.__dict__['int'] = int def __cmp__(self, other): @@ -203,38 +203,38 @@ fields = property(get_fields) def get_time_low(self): - return self.int >> 96L + return self.int >> 96 time_low = property(get_time_low) def get_time_mid(self): - return (self.int >> 80L) & 0xffff + return (self.int >> 80) & 0xffff time_mid = property(get_time_mid) def get_time_hi_version(self): - return (self.int >> 64L) & 0xffff + return (self.int >> 64) & 0xffff time_hi_version = property(get_time_hi_version) def get_clock_seq_hi_variant(self): - return (self.int >> 56L) & 0xff + return (self.int >> 56) & 0xff clock_seq_hi_variant = property(get_clock_seq_hi_variant) def get_clock_seq_low(self): - return (self.int >> 48L) & 0xff + return (self.int >> 48) & 0xff clock_seq_low = property(get_clock_seq_low) def get_time(self): - return (((self.time_hi_version & 0x0fffL) << 48L) | - (self.time_mid << 32L) | self.time_low) + return (((self.time_hi_version & 0x0fff) << 48) | + (self.time_mid << 32) | self.time_low) time = property(get_time) def get_clock_seq(self): - return (((self.clock_seq_hi_variant & 0x3fL) << 8L) | + return (((self.clock_seq_hi_variant & 0x3f) << 8) | self.clock_seq_low) clock_seq = property(get_clock_seq) @@ -255,11 +255,11 @@ urn = property(get_urn) def get_variant(self): - if not self.int & (0x8000 << 48L): + if not self.int & (0x8000 << 48): return RESERVED_NCS - elif not self.inRefactoringTool: Refactored ./src/webdav/WebdavResponse.py t & (0x4000 << 48L): + elif not self.int & (0x4000 << 48): return RFC_4122 - elif not self.int & (0x2000 << 48L): + elif not self.int & (0x2000 << 48): return RESERVED_MICROSOFT else: return RESERVED_FUTURE @@ -269,7 +269,7 @@ def get_version(self): # The version bits are only meaningful for RFC 4122 UUIDs. if self.variant == RFC_4122: - return int((self.int >> 76L) & 0xf) + return int((self.int >> 76) & 0xf) version = property(get_version) @@ -333,9 +333,9 @@ if win32wnet.Netbios(ncb) != 0: continue status._unpack() - bytes = map(ord, status.adapter_address) - return ((bytes[0]<<40L) + (bytes[1]<<32L) + (bytes[2]<<24L) + - (bytes[3]<<16L) + (bytes[4]<<8L) + bytes[5]) + bytes = list(map(ord, status.adapter_address)) + return ((bytes[0]<<40) + (bytes[1]<<32) + (bytes[2]<<24) + + (bytes[3]<<16) + (bytes[4]<<8) + bytes[5]) # Thanks to Thomas Heller for ctypes and for his help with its use here. @@ -383,7 +383,7 @@ def _random_getnode(): """Get a random node ID, with eighth bit set as suggested by RFC 4122.""" import random - return random.randrange(0, 1<<48L) | 0x010000000000L + return random.randrange(0, 1<<48) | 0x010000000000 _node = None @@ -427,15 +427,15 @@ nanoseconds = int(time.time() * 1e9) # 0x01b21dd213814000 is the number of 100-ns intervals between the # UUID epoch 1582-10-15 00:00:00 and the Unix epoch 1970-01-01 00:00:00. - timestamp = int(nanoseconds/100) + 0x01b21dd213814000L + timestamp = int(nanoseconds/100) + 0x01b21dd213814000 if clock_seq is None: import random - clock_seq = random.randrange(1<<14L) # instead of stable storage - time_low = timestamp & 0xffffffffL - time_mid = (timestamp >> 32L) & 0xffffL - time_hi_version = (timestamp >> 48L) & 0x0fffL - clock_seq_low = clock_seq & 0xffL - clock_seq_hi_variant = (clock_seq >> 8L) & 0x3fL + clock_seq = random.randrange(1<<14) # instead of stable storage + time_low = timestamp & 0xffffffff + time_mid = (timestamp >> 32) & 0xffff + time_hi_version = (timestamp >> 48) & 0x0fff + clock_seq_low = clock_seq & 0xff + clock_seq_hi_variant = (clock_seq >> 8) & 0x3f if node is None: node = getnode() return UUID(fields=(time_low, time_mid, time_hi_version, --- ./src/webdav/WebdavResponse.py (original) +++ ./src/webdav/WebdavResponse.py (refactored) @@ -26,7 +26,7 @@ import sys import time import rfc822py3 as rfc822 -import urllib +import urllib.request, urllib.parse, urllib.error # Handling Jython 2.5 bug concerning the date pattern # conversion in time.strptime try: @@ -93,23 +93,23 @@ return Constants.CODE_SUCCEEDED if len(self) > self.errorCount: return Constants.CODE_MULTISTATUS - return self.values()[0].code + return list(self.values())[0].code def getReason(self): result = "" - for response in self.values(): + for response in list(self.values()): if response.code > Constants.CODE_LOWEST_ERROR: result += response.reason return result def __str__(self): - result = u"" - for key, value in self.items(): + result = "" + for key, value in list(self.items()): if isinstance(value, PropertyResponse): result += "Resource at %s has %d properties (%s) and %d errors\n" % ( - key, len(value), ", ".join([prop[1] for prop in value.keys()]), value.errorCount) + key, len(value), ", ".join([prop[1] for prop in list(value.keys())]), value.errorCount) else: - result += "Resource at %s returned " % key + unicode(value) + result += "Resource at %s returned " % key + str(value) return result.encode(sys.stdout.encoding or "ascii", "replace") dRefactoringTool: Refactored ./src/webdav/Condition.py RefactoringTool: No changes to ./src/webdav/logger.py RefactoringTool: No changes to ./src/webdav/acp/__init__.py RefactoringTool: No changes to ./src/webdav/acp/Privilege.py RefactoringTool: No changes to ./src/webdav/acp/Principal.py RefactoringTool: No changes to ./src/webdav/acp/GrantDeny.py RefactoringTool: Refactored ./src/webdav/acp/Acl.py ef _scan(self, root): @@ -187,7 +187,7 @@ def __str__(self): result = "" - for value in self.values(): + for value in list(self.values()): result += value.name + '= ' + value.textof() + '\n' result += self.getReason() return result @@ -202,7 +202,7 @@ def getReason(self): result = "" if len(self.errors) > 0: - result = "Failed for: " + repr(self.failedProperties.keys()) + "\n" + result = "Failed for: " + repr(list(self.failedProperties.keys())) + "\n" for error in self.errors: result += "%s (%d). " % (error.reason, error.code) for reason in self.reasons: @@ -269,7 +269,7 @@ isinstance(propElement, qp_xml._element), \ "Argument properties has type %s" % str(type(properties)) self.properties = dict() - for name, value in properties.items(): + for name, value in list(properties.items()): if name[0] == Constants.NS_DAV and name[1] in self.NAMES: self.properties[name[1]] = value @@ -488,7 +488,7 @@ def __getattr__(self, name): if (name == 'fullname'): return (self.__dict__['ns'], self.__dict__['name']) - raise AttributeError, name + raise AttributeError(name) def add(self, child): self.children.append(child) @@ -527,14 +527,14 @@ def _unquoteHref(href): #print "*** Response HREF=", repr(href) - if type(href) == type(u""): + if type(href) == type(""): try: href = href.encode('ascii') except UnicodeError: # URL contains unescaped non-ascii character # handle bug in Tamino webdav server - return urllib.unquote(href) - href = urllib.unquote(href) + return urllib.parse.unquote(href) + href = urllib.parse.unquote(href) if Constants.CONFIG_UNICODE_URL: - return unicode(href, 'utf-8') + return str(href, 'utf-8') else: - return unicode(href, 'latin-1') + return str(href, 'latin-1') --- ./src/webdav/Condition.py (original) +++ ./src/webdav/Condition.py (refactored) @@ -261,7 +261,7 @@ """ def __init__(self, left, right): BinaryTerm.__init__(self, left, right) - if isinstance(self.left, types.StringType): # Must be namespace + name pair + if isinstance(self.left, bytes): # Must be namespace + name pair self.left = ('DAV:', self.left) if not isinstance(self.right, Literal): self.right = Literal(self.right) # Must be Literal instance @@ -338,7 +338,7 @@ (right child) string. """ def __init__(self, left, right, isTaminoWorkaround=False): - right = unicode(right) + right = str(right) StringRelationTerm.__init__(self, left, "%" + right + "%") # Tamino workaround: operator like is not yet implemented: self.negate = 0 @@ -365,7 +365,7 @@ ''' newResult = {} word = self.right.literal[1:-1] # remove leading and trailing '%' characters (see __init__()) - for url, properties in resultSet.items(): + for url, properties in list(resultSet.items()): value = properties.get(self.left) if self.negate: if not value or value.textof().find(word) < 0: @@ -472,4 +472,4 @@ # use the example from the webdav specification condition = AndTerm( (MatchesTerm('getcontenttype', 'image/gif'), \ IsGreaterTerm('getcontentlength', 4096)) ) - print "Where: " + condition.toXML() + print("Where: " + condition.toXML()) --- ./src/webdav/acp/Acl.py (original) +++ ./src/webdav/acp/Acl.py (refactored) @@ -25,6 +25,7 @@ from webdav import Constants from webdav.Connection import WebdavError from davlib import XML_DOC_HEADER +from functools import reduce __version__ = "$LastChangedRevision$" @@ -228,7 +229,7 @@ joinedAces[principalKey] = ACE() joinedAces[principaRefactoringTool: Refactored ./src/webdav/acp/AceHandler.py RefactoringTool: Refactored ./src/webdav/acp/Ace.py RefactoringTool: No changes to ./src/webdav/__init__.py RefactoringTool: Refactored ./src/webdav/WebdavRequests.py lKey].copy(ace) newAcl = ACL() - newAcl.addAces(joinedAces.values()) + newAcl.addAces(list(joinedAces.values())) return newAcl def splitGrantDeny(self): @@ -264,8 +265,8 @@ acesDeny[ace.principal.principalURL].grantDenies = [] acesDeny[ace.principal.principalURL].addGrantDeny(grantDeny) newAcl = ACL() - newAcl.addAces(acesGrant.values()) - newAcl.addAces(acesDeny.values()) + newAcl.addAces(list(acesGrant.values())) + newAcl.addAces(list(acesDeny.values())) return newAcl def isValid(self): --- ./src/webdav/acp/AceHandler.py (original) +++ ./src/webdav/acp/AceHandler.py (refactored) @@ -97,7 +97,7 @@ Displaynames are added to the Principals where needed. @rtype: C{list} of L{ACL} objects """ - for acl in acls.keys(): + for acl in list(acls.keys()): acls[acl] = acls[acl].joinGrantDeny() _insertAclDisplaynames(acls[acl]) return acls --- ./src/webdav/acp/Ace.py (original) +++ ./src/webdav/acp/Ace.py (refactored) @@ -261,7 +261,7 @@ @param grantDenies: Grant or deny clauses. @type grantDenies: sequence of L{GrantDeny} objects ''' - map(lambda grantDeny: self.addGrantDeny(grantDeny), grantDenies) + list(map(lambda grantDeny: self.addGrantDeny(grantDeny), grantDenies)) def delGrantDeny(self, grantDeny): '''Deletes the passed GrantDeny object from list. @@ -290,4 +290,4 @@ @param grantDenies: Grant or deny clauses. @type grantDenies: sequence of L{GrantDeny} objects ''' - map(lambda grantDeny: self.delGrantDeny(grantDeny), grantDenies) + list(map(lambda grantDeny: self.delGrantDeny(grantDeny), grantDenies)) --- ./src/webdav/WebdavRequests.py (original) +++ ./src/webdav/WebdavRequests.py (refactored) @@ -50,17 +50,17 @@ @param defaultNameSpace: ''' - assert isinstance(nameList, types.ListType) or isinstance(nameList, types.TupleType), \ + assert isinstance(nameList, list) or isinstance(nameList, tuple), \ "1. argument has wrong type %s" % type(nameList) self.shortcuts = {} self.defaultNameSpace = defaultNameSpace for name in nameList: - if not isinstance(name, types.TupleType): + if not isinstance(name, tuple): name = (defaultNameSpace, name) - assert isinstance(name, types.TupleType) and len(name) == 2, \ + assert isinstance(name, tuple) and len(name) == 2, \ "Name is not a namespace, name tuple: %s" % type(name) validatePropertyName(name[1]) - if name[0] and not self.shortcuts.has_key(name[0]): + if name[0] and name[0] not in self.shortcuts: self.shortcuts[name[0]] = 'ns%d' % len(self.shortcuts) def getNameSpaces(self): @@ -69,7 +69,7 @@ ''' result = "" - for namespace, short in self.shortcuts.items(): + for namespace, short in list(self.shortcuts.items()): result += ' xmlns:%s="%s"' % (short, namespace) return result @@ -80,9 +80,9 @@ ''' elements = "" - for name in valueMap.keys(): + for name in list(valueMap.keys()): fullname = name - if isinstance(name, types.StringType): + if isinstance(name, bytes): fullname = (self.defaultNameSpace, name) if not fullname[0]: tag = fullname[1] @@ -112,7 +112,7 @@ elements = "" for name in nameList: - if isinstance(name, types.StringType): + if isinstance(name, bytes): name = (self.defaultNameSpace, name) if not name[0]: tag = name[1] @@ -133,7 +133,7 @@ updateTag = 'D:' + Constants.TAG_PROPERTY_UPDATE setTag = 'D:' + ConRefactoringTool: Refactored ./src/webdav/WebdavClient.py stants.TAG_PROPERTY_SET propTag = 'D:' + Constants.TAG_PROP - mangler = XmlNameSpaceMangler(propertyDict.keys(), defaultNameSpace) + mangler = XmlNameSpaceMangler(list(propertyDict.keys()), defaultNameSpace) return XML_DOC_HEADER + \ '<%s xmlns:D="DAV:"><%s><%s %s>' % (updateTag, setTag, propTag, mangler.getNameSpaces()) + \ mangler.getUpdateElements(propertyDict) + \ --- ./src/webdav/WebdavClient.py (original) +++ ./src/webdav/WebdavClient.py (refactored) @@ -22,7 +22,7 @@ from davlib import XML_CONTENT_TYPE -from urlparse import urlsplit +from urllib.parse import urlsplit import re import types @@ -148,7 +148,7 @@ response = self.connection.options(self.path) result = {} result.update(response.msg) - self.connection.logger.debug("OPTION returns: " + str(result.keys())) + self.connection.logger.debug("OPTION returns: " + str(list(result.keys()))) return result def _getAclSupportAvailable(self): @@ -317,8 +317,8 @@ @param lockToken: None or lock token from last lock request @type lockToken: L{LockToken} """ - assert not content or isinstance(content, types.UnicodeType) or\ - isinstance(content, types.StringType), "Content is not a string: " + content.__class__.__name__ + assert not content or isinstance(content, str) or\ + isinstance(content, bytes), "Content is not a string: " + content.__class__.__name__ assert lockToken == None or isinstance(lockToken, LockToken), \ "Invalid lockToken argument %s" % type(lockToken) header = {} @@ -459,7 +459,7 @@ @param properties: a map from property names to a String or DOM element value for each property to add or update. """ - assert isinstance(properties, types.DictType) + assert isinstance(properties, dict) assert lockToken == None or isinstance(lockToken, LockToken), \ "Invalid lockToken argument %s" % type(lockToken) header = {} @@ -583,7 +583,7 @@ @param name: leaf name of child resource @return: L{ResourceStorer} instance """ - assert isinstance(name, types.StringType) or isinstance(name, types.UnicodeType) + assert isinstance(name, bytes) or isinstance(name, str) return ResourceStorer(self.url + name, self.connection, self.validateResourceNames) def validate(self): @@ -606,7 +606,7 @@ @param lockToken: None or token returned by last lock operation @type lockToken: L{LockToken} """ - assert isinstance(name, types.StringType) or isinstance(name, types.UnicodeType) + assert isinstance(name, bytes) or isinstance(name, str) assert lockToken == None or isinstance(lockToken, LockToken), \ "Invalid lockToken argument %s" % type(lockToken) header = {} @@ -630,7 +630,7 @@ @param lockToken: None or token returned by last lock operation @type lockToken: L{LockToken} """ - assert isinstance(name, types.StringType) or isinstance(name, types.UnicodeType) + assert isinstance(name, bytes) or isinstance(name, str) assert lockToken == None or isinstance(lockToken, LockToken), \ "Invalid lockToken argument %s" % type(lockToken) if self.validateResourceNames: @@ -649,7 +649,7 @@ @param lockToken: None or token returned by last lock operation @type lockToken: L{LockToken} """ - assert isinstance(name, types.StringType) or isinstance(name, types.UnicodeType) + assert isinstance(name, bytes) or isinstance(name, str) assert lockToken == None or isinstance(lockToken, LockToken), \ "Invalid lockToken argument %s" % type(lockToken) header = {} @@ -672,7 +672,7 @@ @return: Lock token string (automatically generated). @rtype: L{LockToken} """ - assert isinstance(owner, types.StringType) or isinstance(owner, types.UnicodeType) + assert isinstance(owner, bytes) or isinstance(owner, str) response = self.connection.lock(self.path, owner, depth=Constants.HTTP_HEADER_DEPTH_INFINITY) return LockToken(self.url, response.locktoken) @@ -690,7 +690,7 @@ ns=Constants.NS_DAV, *LiveProperties.NAMES) result = {} - for path, properties in response.msr.items(): + for path, properties in list(response.msr.items()): if path == self.path: # omit this collection resource continue ## some servers do not append a trailing slash to collection paths @@ -709,7 +709,7 @@ self.validate() collectionContents = [] result = self.listResources() - for url, properties_ in result.items(): + for url, properties_ in list(result.items()): if not self.path == url: if properties_.getResourceType() == 'resource': myWebDavStorer = ResourceStorer(url, self.connection, self.validateResourceNames) @@ -725,7 +725,7 @@ @param names: a list of property names @return: a map from resource URI to a map from property name to value. """ - assert isinstance(names, types.ListType) or isinstance(names, types.TupleType), \ + assert isinstance(names, list) or isinstance(names, tuple), \ "Argument name has type %s" % str(type(names)) body = createFindBody(names, self.defaultNamespace) response = self.connection.propfind(self.path, body, depth=1) @@ -743,7 +743,7 @@ @param names: a list of property names @return: a map from resource URI to a map from property name to value. """ - assert isinstance(names, types.ListType.__class__) or isinstance(names, types.TupleType), \ + assert isinstance(names, types.ListType.__class__) or isinstance(names, tuple), \ "Argument name has type %s" % str(type(names)) body = createFindBody(names, self.defaultNamespace) response = self.connection.propfind(self.path, body, depth=Constants.HTTP_HEADER_DEPTH_INFINITY) @@ -784,9 +784,9 @@ __slots__ = ('url', 'token') def __init__(self, url, token): - assert isinstance(url, types.StringType) or isinstance(url, types.UnicodeType), \ + assert isinstance(url, bytes) or isinstance(url, str), \ "Invalid url argument %s" % type(url) - assert isinstance(token, types.StringType) or isinstance(token, types.UnicodeType), \ + assert isinstance(token, bytes) or isinstance(token, str), \ "Invalid lockToken argument %s" % type(token) self.url = url self.token = token @@ -854,15 +854,15 @@ import sys if len(sys.argv) == 1: - webdavUrl = raw_input("WebDAV URL:").strip() + webdavUrl = input("WebDAV URL:").strip() elif len(sys.argv) == 2 and sys.argv[1] not in ["-h", "-?", "--help", "--usage"]: webdavUrl = sys.argv[1] else: - print( + print(( "usage: %s [URL]\n" "If no URL is passed, URL is prompted for.\n" "If URL ends in slash, directory is listed.\n" - "If URL does not end in slash, file is downloaded.\n" % sys.argv[0]) + "If URL does not end in slash, file is downloaded.\n" % sys.argv[0])) sys.exit(1) username = None password = None @@ -877,15 +877,15 @@ for resource, properties in webdavConnection.getCollectionContents(): try: print("") - print(resource.path.encode(sys.getfilesystemencoding())) - print(unicode(properties).encode(sys.getfilesystemencoding())) + print((resource.path.encode(sys.getfilesystemencoding()))) + print((str(properties).encode(sys.getfilesystemencoding())))RefactoringTool: Refactored ./src/webdav/VersionHandler.py RefactoringTool: Refactored ./src/webdav/Utils.py RefactoringTool: Refactored ./src/webdav/NameCheck.py except UnicodeEncodeError: print("Cannot encode resource path or properties.") break # break out of the authorization failure counter - except AuthorizationError, e: + except AuthorizationError as e: if username is None or password is None: - username = raw_input("User Name:").strip() - password = raw_input("Password:").strip() + username = input("User Name:").strip() + password = input("Password:").strip() if e.authType == "Basic": webdavConnection.connection.addBasicAuthorization(username, password) --- ./src/webdav/VersionHandler.py (original) +++ ./src/webdav/VersionHandler.py (refactored) @@ -27,6 +27,7 @@ from webdav import Constants from davlib import XML_CONTENT_TYPE, XML_DOC_HEADER +from functools import reduce class VersionHandler(object): @@ -92,7 +93,7 @@ response = self.connection._request(Constants.METHOD_REPORT, self.path, body, headers) # response is multi-status result = [] - for path, properties in response.msr.items(): + for path, properties in list(response.msr.items()): # parse the successor-set value from XML into alist result.append( (path, str(properties[Constants.PROP_VERSION_NAME]), \ str(properties[Constants.PROP_CREATOR]), \ @@ -122,7 +123,7 @@ @param oldVersion: URL-path of a previous version of this VCR. """ ## send an update request - assert isinstance(oldVersion, types.StringType) or isinstance(oldVersion, types.UnicodeType) + assert isinstance(oldVersion, bytes) or isinstance(oldVersion, str) response = self.connection._request(Constants.METHOD_UPDATE, self.path, _createUpdateBody(oldVersion), {}) return response --- ./src/webdav/Utils.py (original) +++ ./src/webdav/Utils.py (refactored) @@ -58,7 +58,7 @@ myResourceType = "" if name: # make sure it's unicode: - if not isinstance(name, unicode): + if not isinstance(name, str): name = name.decode(sys.getfilesystemencoding()) url = node.url if url.endswith("/"): @@ -76,7 +76,7 @@ exists = True else: exists = False - except WebdavError, wderr: + except WebdavError as wderr: if wderr.code == CODE_NOT_FOUND: # node doesn't exist -> exists = False: exists = False @@ -145,7 +145,7 @@ try: for item in itemsInPath: os.remove(os.path.join(destinationPath, item)) - except OSError, e: + except OSError as e: if e.errno == 13: # permission error sys.stderr.write("permission problem on '%s' in %s\n" % (e.filename, e.strerror)) else: --- ./src/webdav/NameCheck.py (original) +++ ./src/webdav/NameCheck.py (refactored) @@ -36,7 +36,7 @@ unicodedata.lookup("LATIN SMALL LETTER SHARP S")] # Define characters and character base sets -_german = u"".join(_unicodeUmlaut) +_german = "".join(_unicodeUmlaut) _alpha = "A-Za-z" _num = "0-9" _alphaNum = _alpha + _num @@ -64,11 +64,11 @@ resourceChar = firstResourceChar + _space # Define regular expressions for name validation -_propertyFirstRe = re.compile(u"^["+ firstPropertyChar +"]") +_propertyFirstRe = re.compile("^["+ firstPropertyChar +"]") -_propertyRe = re.compile(u"[^"+ propertyChar +"]") -_resourceFirstRe = re.compile(u"^["+ firstResourceChar +"]") -_resourceRe = re.compile(u"[^"+ resourceChar +"]") +_propertyRe = re.compile("[^"+ propertyChar +"]") +_resourceFirstRe = re.compile("^["+ firstResourceChar +"]") +_resourceRe = re.compile("[^"+ resourceChar +"]") def isValidPropertyName(name): @@ -156,10 +156,10 @@ illegalChar = _resourceRe.search(name) if illegalChar: result = (illegalChar.start()RefactoringTool: No changes to ./src/webdav/Constants.py RefactoringTool: Refactored ./src/webdav/Connection.py RefactoringTool: Refactored ./src/qp_xml.py , \ - u"Illegal character '%s' at index %d." % \ + "Illegal character '%s' at index %d." % \ (name[illegalChar.start()], illegalChar.start())) elif not _resourceFirstRe.match(name): - result = (0, u"Illegal character '%s' at index %d." % (name[0], 0)) + result = (0, "Illegal character '%s' at index %d." % (name[0], 0)) return result --- ./src/webdav/Connection.py (original) +++ ./src/webdav/Connection.py (refactored) @@ -20,7 +20,7 @@ """ -from httplib import HTTPConnection, CannotSendRequest, BadStatusLine, ResponseNotReady, IncompleteRead +from http.client import HTTPConnection, CannotSendRequest, BadStatusLine, ResponseNotReady, IncompleteRead from copy import copy import base64 # for basic authentication try: @@ -30,7 +30,7 @@ hashlib = md5 import mimetypes import os # file handling -import urllib +import urllib.request, urllib.parse, urllib.error import types import socket # to "catch" socket.error from threading import RLock @@ -93,7 +93,7 @@ # encode message parts body = _toUtf8(body) url = _urlEncode(url) - for key, value in extraHeaders.items(): + for key, value in list(extraHeaders.items()): extraHeaders[key] = _toUtf8(value) if key == "Destination": # copy/move header if self.isConnectedToCatacomb: @@ -106,7 +106,7 @@ try: self.logger.debug("REQUEST Send %s for %s" % (method, url)) self.logger.debug("REQUEST Body: " + repr(body)) - for hdr in extraHeaders.items(): + for hdr in list(extraHeaders.items()): self.logger.debug("REQUEST Header: " + repr(hdr)) self.request(method, url, body, extraHeaders) response = self.getresponse() @@ -147,7 +147,7 @@ ## check for UTF-8 encoding try: response.root = Parser().parse(content) - except ExpatError, error: + except ExpatError as error: errorMessage = "Invalid XML document has been returned.\nReason: '%s'" % str(error.args) raise WebdavError(errorMessage) try: @@ -155,7 +155,7 @@ except ResponseFormatError: raise WebdavError("Invalid WebDAV response.") response.close() - for status in unicode(response.msr).strip().split('\n'): + for status in str(response.msr).strip().split('\n'): self.logger.debug("RESPONSE (Multi-Status): " + status) elif method == 'LOCK' and status == Constants.CODE_SUCCEEDED: response.parse_lock_response() @@ -180,7 +180,7 @@ # Assemble header try: size = os.path.getsize(srcfile.name) - except os.error, error: + except os.error as error: raise WebdavError("Cannot determine file size.\nReason: ''" % str(error.args)) header["Content-length"] = str(size) @@ -311,12 +311,12 @@ def _toUtf8(body): if not body is None: - if type(body) == types.UnicodeType: + if type(body) == str: body = body.encode('utf-8') return body def _urlEncode(url): - if type(url) == types.UnicodeType: + if type(url) == str: url = url.encode('utf-8') - return urllib.quote(url) + return urllib.parse.quote(url) --- ./src/qp_xml.py (original) +++ ./src/qp_xml.py (refactored) @@ -37,7 +37,7 @@ def find_prefix(self, prefix): elem = self.cur_elem while elem: - if elem.ns_scope.has_key(prefix): + if prefix in elem.ns_scope: return elem.ns_scope[prefix] elem = elem.parent @@ -58,7 +58,7 @@ ns = self.find_prefix(name[:idx]) if ns is None: - raise error, 'namespace prefix ("%s") not found' % name[:idx] + raise error('namespace prefix ("%s") not found' % nRefactoringTool: Refactored ./src/davlib.py ame[:idx]) return ns, name[idx+1:] @@ -77,7 +77,7 @@ work_attrs = [ ] # scan for namespace declarations (and xml:lang while we're at it) - for name, value in attrs.items(): + for name, value in list(attrs.items()): if name == 'xmlns': elem.ns_scope[''] = value elif name[:6] == 'xmlns:': @@ -192,12 +192,12 @@ def _clean_tree(elem): elem.parent = None del elem.parent - map(_clean_tree, elem.children) + list(map(_clean_tree, elem.children)) def _collect_recurse(elem, dict): dict[elem.ns] = None - for ns, name in elem.attrs.keys(): + for ns, name in list(elem.attrs.keys()): dict[ns] = None for child in elem.children: _collect_recurse(child, dict) @@ -207,7 +207,7 @@ d = { '' : None } _collect_recurse(elem, d) del d[''] # make sure we don't pick up no-namespace entries - keys = d.keys() + keys = list(d.keys()) for i in range(len(keys)): d[keys[i]] = i return d @@ -217,13 +217,13 @@ f.write(' expected' RefactoringTool: Python 3 does not support string exceptions RefactoringTool: Line 127: could not convert: raise 'invalid response: expected' RefactoringTool: Python 3 does not support string exceptions RefactoringTool: Line 130: could not convert: raise 'invalid response: expected' RefactoringTool: Python 3 does not support string exceptions RefactoringTool: Line 133: could not convert: raise 'invalid response: expected' RefactoringTool: Python 3 does not support string exceptions RefactoringTool: Line 136: could not convert: raise 'invalid response: expected' RefactoringTool: Python 3 does not support string exceptions RefactoringTool: Line 139: could not convert: raise 'invalid response: expected' RefactoringTool: Python 3 does not support string exceptions w): assert names, 'at least one property name must be provided' - if kw.has_key('ns'): + if 'ns' in kw: xmlns = ' xmlns:NS="' + kw['ns'] + '"' ns = 'NS:' del kw['ns'] else: xmlns = ns = '' - if kw.has_key('depth'): + if 'depth' in kw: depth = kw['depth'] del kw['depth'] else: @@ -293,7 +293,7 @@ def delprops(self, url, *names, **kw): assert names, 'at least one property name must be provided' - if kw.has_key('ns'): + if 'ns' in kw: xmlns = ' xmlns:NS="' + kw['ns'] + '"' ns = 'NS:' del kw['ns'] @@ -310,13 +310,13 @@ def setprops(self, url, *xmlprops, **props): assert xmlprops or props, 'at least one property must be provided' xmlprops = list(xmlprops) - if props.has_key('ns'): + if 'ns' in props: xmlns = ' xmlns:NS="' + props['ns'] + '"' ns = 'NS:' del props['ns'] else: xmlns = ns = '' - for key, value in props.items(): + for key, value in list(props.items()): if value: xmlprops.append('<%s%s>%s' % (ns, key, value, ns, key)) else: + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.40450 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-WebDAV-0.4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib copying src/qp_xml.py -> build/lib copying src/davlib.py -> build/lib copying src/uuid_.py -> build/lib creating build/lib/webdav copying src/webdav/WebdavResponse.py -> build/lib/webdav copying src/webdav/Condition.py -> build/lib/webdav copying src/webdav/logger.py -> build/lib/webdav copying src/webdav/__init__.py -> build/lib/webdav copying src/webdav/WebdavRequests.py -> build/lib/webdav copying src/webdav/WebdavClient.py -> build/lib/webdav copying src/webdav/VersionHandler.py -> build/lib/webdav copying src/webdav/Utils.py -> build/lib/webdav copying src/webdav/NameCheck.py -> build/lib/webdav copying src/webdav/Constants.py -> build/lib/webdav copying src/webdav/Connection.py -> build/lib/webdav creating build/lib/webdav/acp copying src/webdav/acp/__init__.py -> build/lib/webdav/acp copying src/webdav/acp/Privilege.py -> build/lib/webdav/acp copying src/webdav/acp/Principal.py -> build/lib/webdav/acp copying src/webdav/acp/GrantDeny.py -> build/lib/webdav/acp copying src/webdav/acp/Acl.py -> build/lib/webdav/acp copying src/webdav/acp/AceHandler.py -> build/lib/webdav/acp copying src/webdav/acp/Ace.py -> build/lib/webdav/acp + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40450 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-WebDAV-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-WebDAV-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-WebDAV-0.4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-WebDAV-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-WebDAV-buildroot creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav creating /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/Ace.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/AceHandler.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/Acl.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/GrantDeny.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/Principal.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/Privilege.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/acp/__init__.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp copying build/lib/webdav/Connection.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/Constants.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/NameCheck.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/Utils.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/VersionHandler.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/WebdavClient.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/WebdavRequests.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/__init__.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/logger.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/Condition.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/webdav/WebdavResponse.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav copying build/lib/uuid_.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages copying build/lib/davlib.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages copying build/lib/qp_xml.py -> /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Ace.py to Ace.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/AceHandler.py to AceHandler.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Acl.py to Acl.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/GrantDeny.py to GrantDeny.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Principal.py to Principal.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Privilege.py to Privilege.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py to Connection.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Constants.py to Constants.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/NameCheck.py to NameCheck.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py to Utils.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/VersionHandler.py to VersionHandler.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavClient.py to WebdavClient.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavRequests.py to WebdavRequests.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/logger.py to logger.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Condition.py to Condition.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py to WebdavResponse.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py to uuid_.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/davlib.py to davlib.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/qp_xml.py to qp_xml.cpython-38.pyc running install_egg_info Writing /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/Python_WebDAV_Library-0.4.2-py3.8.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-WebDAV-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-WebDAV-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-WebDAV-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-WebDAV-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-WebDAV-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-WebDAV-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-WebDAV-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-WebDAV-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-WebDAV-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/__pycache__/davlib.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-38.pyc unlink /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.pyc compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Ace.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/AceHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Acl.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/GrantDeny.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Principal.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Privilege.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Condition.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Constants.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/NameCheck.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/VersionHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavClient.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavRequests.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/logger.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/davlib.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/qp_xml.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-WebDAV-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Ace.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/AceHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Acl.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/GrantDeny.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Principal.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Privilege.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Condition.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Constants.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/NameCheck.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/VersionHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavClient.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavRequests.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/logger.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/davlib.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/qp_xml.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-WebDAV-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Ace.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/AceHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Acl.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/GrantDeny.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Principal.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/Privilege.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/acp/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Condition.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Constants.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/NameCheck.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/VersionHandler.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavClient.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavRequests.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/__init__.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/logger.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/davlib.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/qp_xml.py compile /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.pyc' './usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.pyc' './usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-WebDAV-0.4.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.70994 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-WebDAV-0.4.2 + DOCDIR=/usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + /bin/mkdir -p /usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + cp -prL CHANGES.txt LICENSE.txt README.txt /usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + chmod -R go-w /usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + chmod -R a+rX /usr/src/tmp/python3-module-WebDAV-buildroot/usr/share/doc/python3-module-WebDAV-0.4.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NLSCV1 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.hmVpJ1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=278 IGNORE (for REQ=slight and deep=8) module=os /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=292 IGNORE (for REQ=slight and deep=8) module=os /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=292 IGNORE (for REQ=slight and deep=8) module=re /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=295 IGNORE (for REQ=slight and deep=12) module=ctypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=314 IGNORE (for REQ=slight and deep=8) module=win32wnet /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=314 IGNORE (for REQ=slight and deep=8) module=netbios /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=345 IGNORE (for REQ=slight and deep=8) module=ctypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=345 IGNORE (for REQ=slight and deep=8) module=ctypes.util /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=385 IGNORE (for REQ=slight and deep=8) module=random /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=400 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=426 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=432 IGNORE (for REQ=slight and deep=12) module=random /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=446 IGNORE (for REQ=slight and deep=8) module=md5 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=460 IGNORE (for REQ=slight and deep=12) module=os /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=463 IGNORE (for REQ=slight and deep=12) module=random /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/uuid_.py: line=469 IGNORE (for REQ=slight and deep=8) module=sha Provides: python3(davlib), python3(qp_xml), python3(uuid_) Requires: /usr/lib/python3/site-packages, python3(http.client) < 0, python3(mimetypes) < 0, python3(string) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(xml.parsers) < 0 Processing files: python3-module-webdav-0.4.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9WJea2 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.m6XuU0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Condition.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py: line=27 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py: line=29 IGNORE (for REQ=slight and deep=8) module=md5 /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py: line=38 IGNORE (for REQ=slight and deep=8) module=uuid /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Connection.py: line=40 IGNORE (for REQ=slight and deep=8) module=uuid_ python3.req: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/Utils.py: line=101 IGNORE (for REQ=slight and deep=8) module=time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavClient.py: line=854 IGNORE (for REQ=slight and deep=8) module=sys python3.req: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py: skipping sys python3.req: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py: line=33 IGNORE (for REQ=slight and deep=8) module=java.lang /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/WebdavResponse.py: line=459 IGNORE (for REQ=slight and deep=12) module=_strptime python3.req: /usr/src/tmp/python3-module-WebDAV-buildroot/usr/lib/python3/site-packages/webdav/logger.py: skipping sys Provides: python3(webdav), python3(webdav.Condition), python3(webdav.Connection), python3(webdav.Constants), python3(webdav.NameCheck), python3(webdav.Utils), python3(webdav.VersionHandler), python3(webdav.WebdavClient), python3(webdav.WebdavRequests), python3(webdav.WebdavResponse), python3(webdav.acp), python3(webdav.acp.Ace), python3(webdav.acp.AceHandler), python3(webdav.acp.Acl), python3(webdav.acp.GrantDeny), python3(webdav.acp.Principal), python3(webdav.acp.Privilege), python3(webdav.logger) Requires: python3-module-WebDAV = 0.4.2-alt3, /usr/lib/python3/site-packages, python3(base64) < 0, python3(calendar) < 0, python3(copy) < 0, python3(davlib) < 0, python3(functools) < 0, python3(http.client) < 0, python3(logging) < 0, python3(mimetypes) < 0, python3(os) < 0, python3(qp_xml) < 0, python3(re) < 0, python3(rfc822py3) < 0, python3(socket) < 0, python3(tempfile) < 0, python3(threading) < 0, python3(types) < 0, python3(unicodedata) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(xml.parsers.expat) < 0 Adding to python3-module-webdav a strict dependency on python3-module-WebDAV Removing 2 extra deps from python3-module-webdav due to dependency on python3-module-WebDAV Removing 7 extra deps from python3-module-webdav due to repentancy on python3-module-WebDAV Wrote: /usr/src/RPM/RPMS/noarch/python3-module-WebDAV-0.4.2-alt3.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-webdav-0.4.2-alt3.noarch.rpm (w2.lzdio) 10.65user 0.62system 0:16.39elapsed 68%CPU (0avgtext+0avgdata 25436maxresident)k 0inputs+0outputs (0major+196329minor)pagefaults 0swaps /.out/python3-module-WebDAV-0.4.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: ASLv2.0 /.out/python3-module-webdav-0.4.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: ASLv2.0 17.73user 3.75system 0:36.54elapsed 58%CPU (0avgtext+0avgdata 109744maxresident)k 0inputs+0outputs (0major+659982minor)pagefaults 0swaps --- python3-module-WebDAV-0.4.2-alt3.noarch.rpm.repo 2020-01-13 09:43:08.000000000 +0000 +++ python3-module-WebDAV-0.4.2-alt3.noarch.rpm.hasher 2021-02-15 09:13:24.482968881 +0000 @@ -1,12 +1,12 @@ -/usr/lib/python3/site-packages/Python_WebDAV_Library-0.4.2-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/Python_WebDAV_Library-0.4.2-py3.8.egg-info 100644 /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/davlib.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/davlib.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/davlib.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/davlib.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/davlib.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/davlib.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/qp_xml.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/uuid_.cpython-38.pyc 100644 /usr/lib/python3/site-packages/davlib.py 100644 --- python3-module-webdav-0.4.2-alt3.noarch.rpm.repo 2020-01-13 09:43:08.000000000 +0000 +++ python3-module-webdav-0.4.2-alt3.noarch.rpm.hasher 2021-02-15 09:13:24.528968521 +0000 @@ -12,35 +12,35 @@ /usr/lib/python3/site-packages/webdav/__pycache__ 40755 -/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Condition.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Connection.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Constants.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/NameCheck.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/Utils.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/VersionHandler.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavClient.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavRequests.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/WebdavResponse.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/__pycache__/logger.cpython-38.pyc 100644 /usr/lib/python3/site-packages/webdav/acp 40755 @@ -54,23 +54,23 @@ /usr/lib/python3/site-packages/webdav/acp/__pycache__ 40755 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Ace.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/AceHandler.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Acl.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/GrantDeny.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Principal.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/Privilege.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/webdav/acp/__pycache__/__init__.cpython-38.pyc 100644 /usr/lib/python3/site-packages/webdav/logger.py 100644