<86>Jan  9 04:26:44 userdel[3980284]: delete user 'rooter'
<86>Jan  9 04:26:44 userdel[3980284]: removed group 'rooter' owned by 'rooter'
<86>Jan  9 04:26:44 userdel[3980284]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan  9 04:26:44 groupadd[3980294]: group added to /etc/group: name=rooter, GID=945
<86>Jan  9 04:26:44 groupadd[3980294]: group added to /etc/gshadow: name=rooter
<86>Jan  9 04:26:44 groupadd[3980294]: new group: name=rooter, GID=945
<86>Jan  9 04:26:44 useradd[3980302]: new user: name=rooter, UID=945, GID=945, home=/root, shell=/bin/bash
<86>Jan  9 04:26:44 userdel[3980316]: delete user 'builder'
<86>Jan  9 04:26:44 userdel[3980316]: removed group 'builder' owned by 'builder'
<86>Jan  9 04:26:44 userdel[3980316]: removed shadow group 'builder' owned by 'builder'
<86>Jan  9 04:26:44 groupadd[3980329]: group added to /etc/group: name=builder, GID=946
<86>Jan  9 04:26:44 groupadd[3980329]: group added to /etc/gshadow: name=builder
<86>Jan  9 04:26:44 groupadd[3980329]: new group: name=builder, GID=946
<86>Jan  9 04:26:44 useradd[3980335]: new user: name=builder, UID=946, GID=946, home=/usr/src, shell=/bin/bash
<13>Jan  9 04:26:47 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Jan  9 04:26:47 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed
<13>Jan  9 04:26:47 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>Jan  9 04:26:47 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed
<13>Jan  9 04:26:47 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jan  9 04:26:47 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jan  9 04:26:47 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed
<13>Jan  9 04:26:47 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed
<13>Jan  9 04:26:47 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>Jan  9 04:26:47 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed
<13>Jan  9 04:26:47 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed
<13>Jan  9 04:26:47 rpmi: python3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed
<13>Jan  9 04:26:47 rpmi: libpython3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed
<13>Jan  9 04:26:47 rpmi: python3-base-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed
<13>Jan  9 04:26:47 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed
<13>Jan  9 04:26:47 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed
<13>Jan  9 04:26:49 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Jan  9 04:26:49 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Jan  9 04:26:49 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Jan  9 04:26:49 rpmi: python3-dev-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed
<13>Jan  9 04:26:49 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>Jan  9 04:26:49 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>Jan  9 04:26:49 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<86>Jan  9 04:26:49 groupadd[4003548]: group added to /etc/group: name=_keytab, GID=499
<86>Jan  9 04:26:49 groupadd[4003548]: group added to /etc/gshadow: name=_keytab
<86>Jan  9 04:26:49 groupadd[4003548]: new group: name=_keytab, GID=499
<13>Jan  9 04:26:49 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed
<13>Jan  9 04:26:49 rpmi: libtirpc-1.0.3-alt1 1532008015 installed
<13>Jan  9 04:26:49 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed
<13>Jan  9 04:26:49 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Jan  9 04:26:49 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed
<13>Jan  9 04:26:49 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Jan  9 04:26:49 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Jan  9 04:26:49 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/python-module-xhtml2pdf-0.0.6-alt1.git20140628.2.nosrc.rpm (w1.gzdio)
Installing python-module-xhtml2pdf-0.0.6-alt1.git20140628.2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.8903
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf python-module-xhtml2pdf-0.0.6
+ echo 'Source #0 (python-module-xhtml2pdf-0.0.6.tar):'
Source #0 (python-module-xhtml2pdf-0.0.6.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/python-module-xhtml2pdf-0.0.6.tar
+ cd python-module-xhtml2pdf-0.0.6
+ /bin/chmod -c -Rf u+rwX,go-w .
+ cp -fR . ../python3
+ mv ../python3/test/witherror.py ../python3/test/witherror.bak
++ find ../python3 -type f -name '*.py'
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/xhtml2pdf_reportlab.py
file: ../python3/xhtml2pdf/xhtml2pdf_reportlab.py
+ 2to3 -w -n ../python3/xhtml2pdf/xhtml2pdf_reportlab.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 ../python3/xhtml2pdf/xhtml2pdf_reportlab.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/xhtml2pdf_reportlab.py
--- ../python3/xhtml2pdf/xhtml2pdf_reportlab.py	(original)
+++ ../python3/xhtml2pdf/xhtml2pdf_reportlab.py	(refactored)
@@ -27,7 +27,7 @@
 from xhtml2pdf.reportlab_paragraph import Paragraph
 from xhtml2pdf.util import getUID, getBorderStyle
 from types import StringType, TupleType, ListType, IntType
-import StringIO
+import io
 import cgi
 import copy
 import logging
@@ -224,7 +224,7 @@
                 if self.pisaBackground.mimetype.startswith("image/"):
 
                     try:
-                        img = PmlImageReader(StringIO.StringIO(self.pisaBackground.getData()))
+                        img = PmlImageReader(io.StringIO(self.pisaBackground.getData()))
                         iw, ih = img.getSize()
                         pw, ph = canvas._pagesize
 
@@ -316,7 +316,7 @@
         else:
             try:
                 self.fp = open_for_read(fileName, 'b')
-                if isinstance(self.fp, StringIO.StringIO().__class__):
+                if isinstance(self.fp, io.StringIO().__class__):
                     imageReaderFlags = 0  # avoid messing with already internal files
                 if imageReaderFlags > 0:  # interning
                     data = self.fp.read()
@@ -332,7 +332,7 @@
 
                         data = self._cache.setdefault(md5(data).digest(), data)
                     self.fp = getStringIO(data)
-                elif imageReaderFlags == - 1 and isinstance(fileName, (str, unicode)):
+                elif imageReaderFlags == - 1 and isinstance(fileName, str):
                     #try Ralf Schmitt's re-opening technique of avoiding too many open files
                     self.fp.close()
                     del self.fp  # will become a property in the next statement
@@ -359,7 +359,7 @@
                 if hasattr(ev, 'args'):
                     a = str(ev.args[- 1]) + (' fileName=%r' % fileName)
                     ev.args = ev.args[: - 1] + (a,)
-                    raise et, ev, tb
+                    raise et(ev).with_traceback(tb)
                 else:
                     raise
 
@@ -449,7 +449,7 @@
             # 8-bit PNGs could give an empty string as transparency value, so
             # we have to be careful here.
             try:
-                return map(ord, palette[transparency:transparency + 3])
+                return list(map(ord, palette[transparency:transparency + 3]))
             except:
                 return None
         else:
@@ -498,7 +498,7 @@
         return self.dWidth, self.dHeight
 
     def getImage(self):
-        img = PmlImageReader(StringIO.StringIO(self._imgdata))
+        img = PmlImageReader(io.StringIO(self._imgdata))
         return img
 
     def draw(self):
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/wsgi.py
file: ../python3/xhtml2pdf/wsgi.py
+ 2to3 -w -n ../python3/xhtml2pdf/wsgi.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 ../python3/xhtml2pdf/wsgi.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/wsgi.py
--- ../python3/xhtml2pdf/wsgi.py	(original)
+++ ../python3/xhtml2pdf/wsgi.py	(refactored)
@@ -15,7 +15,7 @@
 # limitations under the License.
 
 import xhtml2pdf.pisa as pisa
-import StringIO
+import io
 
 import logging
 
@@ -31,7 +31,7 @@
         script_name = environ.get('SCRIPT_NAME', '')
         path_info = environ.get('PATH_INFO', '')
         sent = []
-        written_response = StringIO.StringIO()
+        written_response = io.StringIO()
 
         def replacement_start_response(status, headers, exc_info=None):
             if not self.should_filter(status, headers):
@@ -77,7 +77,7 @@
     def filter(self, script_name, path_info, environ, status, headers, body):
         topdf = environ.get("pisa.topdf", "")
         if topdf:
-            dst = StringIO.StringIO()
+            dst = io.StringIO()
             pisa.CreatePDF(body, dst, show_error_as_pdf=True)
             headers = [
                 ("content-type", "application/pdf"),
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/w3c/cssSpecial.py
file: ../python3/xhtml2pdf/w3c/cssSpecial.py
+ 2to3 -w -n ../python3/xhtml2pdf/w3c/cssSpecial.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 ../python3/xhtml2pdf/w3c/cssSpecial.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/w3c/cssSpecial.py
--- ../python3/xhtml2pdf/w3c/cssSpecial.py	(original)
+++ ../python3/xhtml2pdf/w3c/cssSpecial.py	(refactored)
@@ -45,7 +45,7 @@
 
 
 def toList(value):
-    if type(value) != types.ListType:
+    if type(value) != list:
         return [value]
     return value
 
@@ -156,7 +156,7 @@
 
 
 def isSize(value):
-    return value and ((type(value) is types.TupleType) or value == "0")
+    return value and ((type(value) is tuple) or value == "0")
 
 
 def splitBorder(parts):
@@ -250,7 +250,7 @@
 
             if 0:
                 part = getNextPart(parts) or oparts
-                print ("~", part, parts, oparts, declarations)
+                print(("~", part, parts, oparts, declarations))
                 # Color
                 if part and (not part.startswith("url")):
                     dd.append(("background-color", part, last))
@@ -414,8 +414,8 @@
         log.debug("CSS special OUT:\n%s", "\n".join([repr(d) for d in dd]))
 
     if 0: #declarations!=dd:
-        print ("###", declarations)
-        print ("#->", dd)
+        print(("###", declarations))
+        print(("#->", dd))
         # CSS MODIFY! END
     return dd
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/w3c/cssParser.py
file: ../python3/xhtml2pdf/w3c/cssParser.py
+ 2to3 -w -n ../python3/xhtml2pdf/w3c/cssParser.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 ../python3/xhtml2pdf/w3c/cssParser.py
--- ../python3/xhtml2pdf/w3c/cssParser.py	(original)
+++ ../python3/xhtml2pdf/w3c/cssParser.py	(refactored)
@@ -33,7 +33,7 @@
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 import re
-import cssSpecial
+from . import cssSpecial
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 #~ Definitions
@@ -327,9 +327,9 @@
         _orRule = lambda *args: '|'.join(args)
         _reflags = re.I | re.M | re.U
         i_hex = '[0-9a-fA-F]'
-        i_nonascii = u'[\200-\377]'
+        i_nonascii = '[\200-\377]'
         i_unicode = '\\\\(?:%s){1,6}\s?' % i_hex
-        i_escape = _orRule(i_unicode, u'\\\\[ -~\200-\377]')
+        i_escape = _orRule(i_unicode, '\\\\[ -~\200-\377]')
         # i_nmstart = _orRule('[A-Za-z_]', i_nonascii, i_escape)
         i_nmstart = _orRule('\-[^0-9]|[A-Za-z_]', i_nonascii,
                             i_escape) # XXX Added hyphen, http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
@@ -349,25 +349,25 @@
         re_hash = re.compile(i_hash, _reflags)
         i_rgbcolor = '(#%s{6}|#%s{3})' % (i_hex, i_hex)
         re_rgbcolor = re.compile(i_rgbcolor, _reflags)
-        i_nl = u'\n|\r\n|\r|\f'
-        i_escape_nl = u'\\\\(?:%s)' % i_nl
-        i_string_content = _orRule(u'[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape)
-        i_string1 = u'\"((?:%s|\')*)\"' % i_string_content
-        i_string2 = u'\'((?:%s|\")*)\'' % i_string_content
+        i_nl = '\n|\r\n|\r|\f'
+        i_escape_nl = '\\\\(?:%s)' % i_nl
+        i_string_content = _orRule('[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape)
+        i_string1 = '\"((?:%s|\')*)\"' % i_string_content
+        i_string2 = '\'((?:%s|\")*)\'' % i_string_content
         i_string = _orRule(i_string1, i_string2)
         re_string = re.compile(i_string, _reflags)
-        i_uri = (u'url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)'
+        i_uri = ('url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)'
                  % (i_string, _orRule('[!#$%&*-~]', i_nonascii, i_escape)))
         # XXX For now
         # i_uri = u'(url\\(.*?\\))'
         re_uri = re.compile(i_uri, _reflags)
-        i_num = u'(([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+))' # XXX Added out paranthesis, because e.g. .5em was not parsed correctly
+        i_num = '(([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+))' # XXX Added out paranthesis, because e.g. .5em was not parsed correctly
         re_num = re.compile(i_num, _reflags)
         i_unit = '(%%|%s)?' % i_ident
         re_unit = re.compile(i_unit, _reflags)
         i_function = i_ident + '\\('
         re_function = re.compile(i_function, _reflags)
-        i_functionterm = u'[-+]?' + i_function
+        i_functionterm = '[-+]?' + i_function
         re_functionterm = re.compile(i_functionterm, _reflags)
         i_unicoderange1 = "(?:U\\+%s{1,6}-%s{1,6})" % (i_hex, i_hex)
         i_unicoderange2 = "(?:U\\+\?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h}))))))"
@@ -376,9 +376,9 @@
 
         # i_comment = u'(?:\/\*[^*]*\*+([^/*][^*]*\*+)*\/)|(?://.*)'
         # gabriel: only C convention for comments is allowed in CSS
-        i_comment = u'(?:\/\*[^*]*\*+([^/*][^*]*\*+)*\/)'
+        i_comment = '(?:\/\*[^*]*\*+([^/*][^*]*\*+)*\/)'
         re_comment = re.compile(i_comment, _reflags)
-        i_important = u'!\s*(important)'
+        i_important = '!\s*(important)'
         re_important = re.compile(i_important, _reflags)
         del _orRule
 
@@ -471,7 +471,7 @@
         try:
             properties = []
             try:
-                for propertyName, src in kwAttributes.iteritems():
+                for propertyName, src in kwAttributes.items():
                     src, property = self._parseDeclarationProperty(src.strip(), propertyName)
                     properties.append(property)
 
@@ -511,7 +511,7 @@
         ;
         """
         # Get rid of the comments
-        src = self.re_comment.sub(u'', src)
+        src = self.re_comment.sub('', src)
 
         # [ CHARSET_SYM S* STRING S* ';' ]?
         src = self._parseAtCharset(src)
@@ -678,7 +678,7 @@
             if medium is NonRefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/w3c/cssParser.py
e:
                 raise self.ParseError('@media rule expected media identifier', src, ctxsrc)
             # make "and ... {" work
-            if medium == u'and':
+            if medium == 'and':
                 # strip up to curly bracket
                 pattern = re.compile('.*({.*)')
                 match = re.match(pattern, src)
@@ -1168,7 +1168,7 @@
             rexpression = self.re_string
         result = rexpression.match(src)
         if result:
-            strres = filter(None, result.groups())
+            strres = [_f for _f in result.groups() if _f]
             if strres:
                 strres = strres[0]
             else:
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py
file: ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py
+ 2to3 -w -n ../python3/xhtml2pdf/w3c/cssDOMElementInterface.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 ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py
--- ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py	(original)
+++ ../python3/xhtml2pdf/w3c/cssDOMElementInterface.py	(refactored)
@@ -13,7 +13,7 @@
 #~ Imports
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-import css
+from . import css
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 #~ Definitions
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/w3c/css.py
file: ../python3/xhtml2pdf/w3c/css.py
+ 2to3 -w -n ../python3/xhtml2pdf/w3c/css.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 ../python3/xhtml2pdf/w3c/css.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/w3c/css.py
--- ../python3/xhtml2pdf/w3c/css.py	(original)
+++ ../python3/xhtml2pdf/w3c/css.py	(refactored)
@@ -54,8 +54,8 @@
     set
 except NameError:
     from sets import Set as set
-import cssParser
-import cssSpecial
+from . import cssParser
+from . import cssSpecial
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 #~ Constants / Variables / Etc.
@@ -172,7 +172,7 @@
         """
         rules = self.findCSSRulesForEach(element, attrNames)
         return [(attrName, self._extractStyleForRule(rule, attrName, default))
-                for attrName, rule in rules.iteritems()]
+                for attrName, rule in rules.items()]
 
 
     def findCSSRulesFor(self, element, attrName):
@@ -211,10 +211,10 @@
 
         inline = element.getInlineStyle()
         for ruleset in self.iterCSSRulesets(inline):
-            for attrName, attrRules in rules.iteritems():
+            for attrName, attrRules in rules.items():
                 attrRules += ruleset.findCSSRuleFor(element, attrName)
 
-        for attrRules in rules.itervalues():
+        for attrRules in rules.values():
             attrRules.sort()
         return rules
 
@@ -665,7 +665,7 @@
 
 class CSSRuleset(dict):
     def findCSSRulesFor(self, element, attrName):
-        ruleResults = [(nodeFilter, declarations) for nodeFilter, declarations in self.iteritems() if
+        ruleResults = [(nodeFilter, declarations) for nodeFilter, declarations in self.items() if
                        (attrName in declarations) and (nodeFilter.matches(element))]
         ruleResults.sort()
         return ruleResults
@@ -679,7 +679,7 @@
 
     def mergeStyles(self, styles):
         " XXX Bugfix for use in PISA "
-        for k, v in styles.iteritems():
+        for k, v in styles.items():
             if k in self and self[k]:
                 self[k] = copy.copy(self[k])
                 self[k].update(v)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/w3c/__init__.py
file: ../python3/xhtml2pdf/w3c/__init__.py
+ 2to3 -w -n ../python3/xhtml2pdf/w3c/__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: No files need to be modified.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/version.py
file: ../python3/xhtml2pdf/version.py
+ 2to3 -w -n ../python3/xhtml2pdf/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: No changes to ../python3/xhtml2pdf/version.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/xhtml2pdf/version.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/util.py
file: ../python3/xhtml2pdf/util.py
+ 2to3 -w -n ../python3/xhtml2pdf/util.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 ../python3/xhtml2pdf/util.py
--- ../python3/xhtml2pdf/util.py	(original)
+++ ../python3/xhtml2pdf/util.py	(refactored)
@@ -4,7 +4,7 @@
 from reportlab.lib.units import inch, cm
 import base64
 try:
-    import httplib
+    import http.client
 except ImportError:
     import http.client as httplib
 import logging
@@ -17,13 +17,13 @@
 import sys
 import tempfile
 import types
-import urllib
+import urllib.request, urllib.parse, urllib.error
 try:
-    import urllib2
+    import urllib.request, urllib.error, urllib.parse
 except ImportError:
     import urllib.request as urllib2
 try:
-    import urlparse
+    import urllib.parse
 except ImportError:
     import urllib.parse as urlparse
 
@@ -53,10 +53,10 @@
 log = logging.getLogger("xhtml2pdf")
 
 try:
-    import cStringIO as io
+    import io as io
 except:
     try:
-        import StringIO as io
+        import io as io
     except ImportError:
         import io
 
@@ -102,7 +102,7 @@
     def __call__(self, *args, **kwargs):
         # Make sure the following line is not actually slower than what you're
         # trying to memoize
-        args_plus = tuple(kwargs.iteritems())
+        args_plus = tuple(kwargs.items())
         key = (args, args_plus)
         try:
             if key not in self.cache:
@@ -131,7 +131,7 @@
 
 
 def toList(value):
-    if type(value) not in (types.ListType, types.TupleType):
+    if type(value) not in (list, tuple):
         return [value]
     return list(value)
 
@@ -223,11 +223,11 @@
         original = value
         if value is None:
             return relative
-        elif type(value) is types.FloatType:
+        elif type(value) is float:
             return value
         elif isinstance(value, int):
             return float(value)
-        elif type(value) in (types.TupleType, types.ListType):
+        elif type(value) in (tuple, list):
             value = "".join(value)
         value = str(value).strip().lower().replace(",", ".")
         if value[-2:] == 'cm':
@@ -545,17 +545,17 @@
 
         else:
             # Check if we have an external scheme
-            if basepath and not urlparse.urlparse(uri).scheme:
-                urlParts = urlparse.urlparse(basepath)
+            if basepath and not urllib.parse.urlparse(uri).scheme:
+                urlParts = urllib.parse.urlparse(basepath)
             else:
-                urlParts = urlparse.urlparse(uri)
+                urlParts = urllib.parse.urlparse(uri)
 
             log.debug("URLParts: %r", urlParts)
 
             if urlParts.scheme == 'file':
                 if basepath and uri.startswith('/'):
-                    uri = urlparse.urljoin(basepath, uri[1:])
-                urlResponse = urllib2.urlopen(uri)
+                    uri = urllib.parse.urljoin(basepath, uri[1:])
+                urlResponse = urllib.request.urlopen(uri)
                 self.mimetype = urlResponse.info().get(
                     "Content-Type", '').split(";")[0]
                 self.uri = urlResponse.geturl()
@@ -567,17 +567,17 @@
 
                 # External data
                 if basepath:
-                    uri = urlparse.urljoin(basepath, uri)
+                    uri = urllib.parse.urljoin(basepath, uri)
 
                 #path = urlparse.urlsplit(url)[2]
                 #mimetype = getMimeType(path)
 
                 # Using HTTPLIB
-                server, path = urllib.splithost(uri[uri.find("//"):])
+                server, path = urllib.parse.splithost(uri[uri.find("//"):])
                 if uri.startswith("https://"):
-                    conn = httplib.HTTPSConnection(server)
+                    conn = http.client.HTTPSConnection(server)
                 else:
-                    conn = httplib.HTTPConnection(server)
+                    conn = http.client.HTTPConnection(server)
                 conn.request("GET", path)
                 r1 = conn.getresponse()
                 # log.debug("HTTP %r %r %r %r", server, path, uri, r1)
@@ -588,10 +588,10 @@
                     if r1.getheader("content-encoding") == "gzip":
                         import gzip
                     RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/util.py
    try:
-                            import cStringIO as io
+                            import io as io
                         except:
                             try:
-                                import StringIO as io
+                                import io as io
                             except ImportError:
                                 import io
 
@@ -601,8 +601,8 @@
                         self.file = r1
                 else:
                     try:
-                        urlResponse = urllib2.urlopen(uri)
-                    except urllib2.HTTPError:
+                        urlResponse = urllib.request.urlopen(uri)
+                    except urllib.error.HTTPError:
                         return
                     self.mimetype = urlResponse.info().get(
                         "Content-Type", '').split(";")[0]
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/turbogears.py
file: ../python3/xhtml2pdf/turbogears.py
+ 2to3 -w -n ../python3/xhtml2pdf/turbogears.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 ../python3/xhtml2pdf/turbogears.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/turbogears.py
--- ../python3/xhtml2pdf/turbogears.py	(original)
+++ ../python3/xhtml2pdf/turbogears.py	(refactored)
@@ -14,9 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from turbogears.decorator import weak_signature_decorator
+from .turbogears.decorator import weak_signature_decorator
 import xhtml2pdf.pisa as pisa
-import StringIO
+import io
 import cherrypy
 
 
@@ -24,9 +24,9 @@
     def entangle(func):
         def decorated(func, *args, **kw):
             output = func(*args, **kw)
-            dst = StringIO.StringIO()
+            dst = io.StringIO()
             result = pisa.CreatePDF(
-                StringIO.StringIO(output),
+                io.StringIO(output),
                 dst
             )
             if not result.err:
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/tags.py
file: ../python3/xhtml2pdf/tags.py
+ 2to3 -w -n ../python3/xhtml2pdf/tags.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 ../python3/xhtml2pdf/tags.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/tags.py
--- ../python3/xhtml2pdf/tags.py	(original)
+++ ../python3/xhtml2pdf/tags.py	(refactored)
@@ -180,13 +180,13 @@
 
 def listDecimal(c):
     c.listCounter += 1
-    return unicode("%d." % c.listCounter)
-
-
-roman_numeral_map = zip(
+    return str("%d." % c.listCounter)
+
+
+roman_numeral_map = list(zip(
     (1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1),
     ('M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I')
-)
+))
 
 
 def int_to_roman(i):
@@ -201,7 +201,7 @@
 def listUpperRoman(c):
     c.listCounter += 1
     roman = int_to_roman(c.listCounter)
-    return unicode("%s." % roman)
+    return str("%s." % roman)
 
 
 def listLowerRoman(c):
@@ -218,16 +218,16 @@
         # this will probably fail for anything past the 2nd time
         alpha = string.ascii_uppercase[index - 26]
         alpha *= 2
-    return unicode("%s." % alpha)
+    return str("%s." % alpha)
 
 
 def listLowerAlpha(c):
     return listUpperAlpha(c).lower()
 
 
-_bullet = u"\u2022"
+_bullet = "\u2022"
 _list_style_type = {
-    "none": u"",
+    "none": "",
     "disc": _bullet,
     "circle": _bullet,  # XXX PDF has no equivalent
     "square": _bullet,  # XXX PDF has no equivalent
@@ -273,7 +273,7 @@
 
         self.offset = 0
         if frag.listStyleImage is not None:
-            frag.text = u""
+            frag.text = ""
             f = frag.listStyleImage
             if f and (not f.notFound()):
                 img = PmlImage(
@@ -288,7 +288,7 @@
                 frag.image = img
                 self.offset = max(0, img.drawHeight - c.frag.fontSize)
         else:
-            if type(lst) == type(u""):
+            if type(lst) == type(""):
                 frag.text = lst
             else:
                 # XXX This should be the recent font, but it throws errors in Reportlab!
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/tables.py
file: ../python3/xhtml2pdf/tables.py
+ 2to3 -w -n ../python3/xhtml2pdf/tables.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 ../python3/xhtml2pdf/tables.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/tables.py
--- ../python3/xhtml2pdf/tables.py	(original)
+++ ../python3/xhtml2pdf/tables.py	(refactored)
@@ -172,9 +172,9 @@
         for i, row in enumerate(data):
             data[i] += [''] * (maxcols - len(row))
 
-        cols_with_no_width = len(filter(lambda col: col is None, tdata.colw))
+        cols_with_no_width = len([col for col in tdata.colw if col is None])
         if cols_with_no_width:  # any col width not defined
-            bad_cols = filter(lambda tup: tup[1] is None, enumerate(tdata.colw))
+            bad_cols = [tup for tup in enumerate(tdata.colw) if tup[1] is None]
             fair_division = str(100 / float(cols_with_no_width)) + '%' # get fair %
             for i, _ in bad_cols:
                 tdata.colw[i] = fair_division   # fix empty with fair %
@@ -262,8 +262,8 @@
         if begin != end:
             #~ print begin, end
             tdata.add_style(('SPAN', begin, end))
-            for x in xrange(begin[0], end[0] + 1):
-                for y in xrange(begin[1], end[1] + 1):
+            for x in range(begin[0], end[0] + 1):
+                for y in range(begin[1], end[1] + 1):
                     if x != begin[0] or y != begin[1]:
                         tdata.add_empty(x, y)
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/reportlab_paragraph.py
file: ../python3/xhtml2pdf/reportlab_paragraph.py
+ 2to3 -w -n ../python3/xhtml2pdf/reportlab_paragraph.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 ../python3/xhtml2pdf/reportlab_paragraph.py
--- ../python3/xhtml2pdf/reportlab_paragraph.py	(original)
+++ ../python3/xhtml2pdf/reportlab_paragraph.py	(refactored)
@@ -20,36 +20,36 @@
 LEADING_FACTOR = 1.0
 
 _wsc_re_split = re.compile('[%s]+' % re.escape(''.join((
-    u'\u0009',  # HORIZONTAL TABULATION
-    u'\u000A',  # LINE FEED
-    u'\u000B',  # VERTICAL TABULATION
-    u'\u000C',  # FORM FEED
-    u'\u000D',  # CARRIAGE RETURN
-    u'\u001C',  # FILE SEPARATOR
-    u'\u001D',  # GROUP SEPARATOR
-    u'\u001E',  # RECORD SEPARATOR
-    u'\u001F',  # UNIT SEPARATOR
-    u'\u0020',  # SPACE
-    u'\u0085',  # NEXT LINE
+    '\u0009',  # HORIZONTAL TABULATION
+    '\u000A',  # LINE FEED
+    '\u000B',  # VERTICAL TABULATION
+    '\u000C',  # FORM FEED
+    '\u000D',  # CARRIAGE RETURN
+    '\u001C',  # FILE SEPARATOR
+    '\u001D',  # GROUP SEPARATOR
+    '\u001E',  # RECORD SEPARATOR
+    '\u001F',  # UNIT SEPARATOR
+    '\u0020',  # SPACE
+    '\u0085',  # NEXT LINE
     #u'\u00A0', # NO-BREAK SPACE
-    u'\u1680',  # OGHAM SPACE MARK
-    u'\u2000',  # EN QUAD
-    u'\u2001',  # EM QUAD
-    u'\u2002',  # EN SPACE
-    u'\u2003',  # EM SPACE
-    u'\u2004',  # THREE-PER-EM SPACE
-    u'\u2005',  # FOUR-PER-EM SPACE
-    u'\u2006',  # SIX-PER-EM SPACE
-    u'\u2007',  # FIGURE SPACE
-    u'\u2008',  # PUNCTUATION SPACE
-    u'\u2009',  # THIN SPACE
-    u'\u200A',  # HAIR SPACE
-    u'\u200B',  # ZERO WIDTH SPACE
-    u'\u2028',  # LINE SEPARATOR
-    u'\u2029',  # PARAGRAPH SEPARATOR
-    u'\u202F',  # NARROW NO-BREAK SPACE
-    u'\u205F',  # MEDIUM MATHEMATICAL SPACE
-    u'\u3000',  # IDEOGRAPHIC SPACE
+    '\u1680',  # OGHAM SPACE MARK
+    '\u2000',  # EN QUAD
+    '\u2001',  # EM QUAD
+    '\u2002',  # EN SPACE
+    '\u2003',  # EM SPACE
+    '\u2004',  # THREE-PER-EM SPACE
+    '\u2005',  # FOUR-PER-EM SPACE
+    '\u2006',  # SIX-PER-EM SPACE
+    '\u2007',  # FIGURE SPACE
+    '\u2008',  # PUNCTUATION SPACE
+    '\u2009',  # THIN SPACE
+    '\u200A',  # HAIR SPACE
+    '\u200B',  # ZERO WIDTH SPACE
+    '\u2028',  # LINE SEPARATOR
+    '\u2029',  # PARAGRAPH SEPARATOR
+    '\u202F',  # NARROW NO-BREAK SPACE
+    '\u205F',  # MEDIUM MATHEMATICAL SPACE
+    '\u3000',  # IDEOGRAPHIC SPACE
 )))).split
 
 
@@ -58,7 +58,7 @@
         text = text.decode('utf8')
     if type(delim) is str:
         delim = delim.decode('utf8')
-    elif delim is None and u'\xa0' in text:
+    elif delim is None and '\xa0' in text:
         return [uword.encode('utf8') for uword in _wsc_re_split(text)]
     return [uword.encode('utf8') for uword in text.split(delim)]
 
@@ -98,14 +98,14 @@
 
 
 def _lineClean(L):
-    return join(filter(truth, split(strip(L))))
+    return join(list(filter(truth, split(strip(L)))))
 
 
 def cleanBlockQuotedText(text, joiner=' '):
     """This is an internal utility which takes triple-
     quoted text form within the document and returns
     (hopefully) the paragraph the user intended originally."""
-    L = filter(truth, map(_lineClean, split(text, '\n')))
+    L = list(filter(truth, list(map(_lineClean, split(text, '\n')))))
     return join(L, joiner)
 
 
@@ -520,7 +520,7 @@
     tx2 = canvas.beginText(style.bulletIndent, cur_y + getattr(style, "bulletOffsetY", 0))
     tx2.setFont(style.bulletFontName, style.bulletFontSize)
     tx2.setFillColor(hasattr(style, 'bulletColor') and style.bulletColor or style.textColor)
-    if isinstance(bulletText, basestring):
+    if isinstance(bulletText, str):
         tx2.textOut(bulletText)
     else:
         for f in bulletText:
@@ -554,7 +554,7 @@
     work out bullet width and adjust maxWidths[0] if neccessary
     """
     if bulletText:
-        if isinstance(bulletText, basestring):
+        if isinstance(bulletText, str):
             bulletWidth = stringWidth(bulletText, style.bulletFontName, style.bulletFontSize)
         else:
             #it's a list of fragments
@@ -641,7 +641,7 @@
 
 
 def _doLink(tx, link, rect):
-    if isinstance(link, unicode):
+    if isinstance(link, str):
         link = link.encode('utf8')
     parts = link.split(':', 1)
     scheme = len(parts) == 2 and parts[0].lower() or ''
@@ -743,11 +743,11 @@
     if tt:
         tt = tt.lower()
         if tt == 'lowercase':
-            tt = unicode.lower
+            tt = str.lower
         elif tt == 'uppercase':
-            tt = unicode.upper
+            tt = str.upper
         elif tt == 'capitalize':
-            tt = unicode.title
+            tt = str.title
         elif tt == 'none':
             return
         else:
@@ -756,19 +756,19 @@
         if n == 1:
             #single fragment the easy case
             frags[0].text = tt(frags[0].text.decode('utf8')).encode('utf8')
-        elif tt is unicode.title:
+        elif tt is str.title:
             pb = True
             for f in frags:
                 t = f.text
                 if not t: continue
                 u = t.decode('utf8')
-                if u.startswith(u' ') or pb:
+                if u.startswith(' ') or pb:
                     u = tt(u)
                 else:
-                    i = u.find(u' ')
+                    i = u.find(' ')
                     if i >= 0:
                         u = u[:i] + tt(u[i:])
-                pb = u.endswith(u' ')
+                pb = u.endswith(' ')
                 f.text = u.encode('utf8')
         else:
             for f in frags:
@@ -777,13 +777,13 @@
                 f.text = tt(t.decode('utf8')).encode('utf8')
 
 
-class cjkU(unicode):
+class cjkU(str):
     """
     simple class to hold the frag corresponding to a str
     """
 
     def __new__(cls, value, frag, encoding):
-        self = unicode.__new__(cls, value)
+        self = str.__new__(cls, value)
         self._frag = frag
         if hasattr(frag, 'cbDefn'):
             w = getattr(frag.cbDefn, 'width', 0)
@@ -817,14 +817,14 @@
         minDescent = min(minDescent, descent)
         if not _sameFrag(f0, f):
             f0 = f0.clone()
-            f0.text = u''.join(CW)
+            f0.text = ''.join(CW)
             words.append(f0)
             CW = []
             f0 = f
         CW.append(u)
     if CW:
         f0 = f0.clone()
-        f0.text = u''.join(CW)
+        f0.text = ''.join(CW)
         words.append(f0)
     return FragLine(kind=1, extraSpace=extraSpace, wordCount=1, words=words[1:], fontSize=maxSize, ascent=maxAscent,
                     descent=minDescent)
@@ -840,7 +840,7 @@
     U = []  # get a list of single glyphs with their widths etc etc
     for f in frags:
         text = f.text
-        if not isinstance(text, unicode):
+        if not isinstance(text, str):
             text = text.decode(encoding)
         if text:
             U.extend([cjkU(t, f, encoding) for t in text])
@@ -945,7 +945,7 @@
     def __repr__(self):
         n = self.__class__.__name__
         L = [n + "("]
-        keys = self.__dict__.keys()
+        keys = list(self.__dict__.keys())
         for k in keys:
             v = getattr(self, k)
             rk = repr(k)
@@ -978,9 +978,9 @@
     def wrap(self, availWidth, availHeight):
 
         if self.debug:
-            print (id(self), "wrap")
+            print((id(self), "wrap"))
             try:
-                print (repr(self.getPlainText()[:80]))
+                print((repr(self.getPlainText()[:80])))
             except:
                 print ("???")
 
@@ -1036,7 +1036,7 @@
         else:
             words = _getFragWords(frags)
             func = lambda x: x[0]
-        return max(map(func, words))
+        return max(list(map(func, words)))
 
     def _get_split_blParaFunc(self):
         return self.blPara.kind == 0 and _split_blParaSimple or _split_blParaHard
@@ -1044,7 +1044,7 @@
     def split(self, availWidth, availHeight):
 
         if self.debug:
-            print  (id(self), "split")
+            print((id(self), "split"))
 
         if len(self.frags) <= 0: return []
 
@@ -1159,7 +1159,7 @@
         """
 
         if self.debug:
-            print (id(self), "breakLines")
+            print((id(self), "breakLines"))
 
         if not isinstance(width, (tuple, list)):
             maxWidths = [width]
@@ -1378,7 +1378,7 @@
         Cannot handle font variations."""
 
         if self.debug:
-            print (id(self), "breakLinesCJK")
+            print((id(self), "breakLinesCJK"))
 
         if not isinstance(width, (list, tuple)):
             maxWidths = [width]
@@ -1433,7 +1433,7 @@
         algorithm will go infinite."""
 
         if self.debug:
-            print (id(self), "drawPara", self.blPara.kind)
+            print((id(self), "drawPara", self.blPara.kind))
 
         #stash the key facts locally for speed
         canvas = self.canv
@@ -1550,7 +1550,7 @@
                     if link: _do_link_line(0, dx, ws, tx)
 
                     #now the middle of the paragraph, aligned with the left margin which is our origin.
-                    for i in xrange(1, nLines):
+                    for i in range(1, nLines):
                         ws = lines[i][0]
                         t_off = dpl(tx, _offsets[i], ws, lines[i][1], noJustifyLast and i == lim)
                         if dpl != _justifyDrawParaLine: ws = 0
@@ -1558,7 +1558,7 @@
                         if strike: _do_under_line(i, t_off + leftIndent, ws, tx, lm=0.125)
                         if link: _do_link_line(i, t_off + leftIndent, ws, tx)
                 else:
-                    for i in xrange(1, nLines):
+                    for i in range(1, nLines):
                         dpl(tx, _offsets[i], lines[i][0], lines[i][1], noJustifyLast and i == lim)
             else:
                 f = lines[0]
@@ -1615,7 +1615,7 @@
                 _do_post_text(tx)
 
                 #now the middle of the paragraph, aligned with the left margin which is our origin.
-                for i in xrange(1, nLines):
+                for i in range(1, nLines):
                     f = lines[i]
                     dpl(tx, _offsets[i], f, noJustifyLast and i == lim)
                     _do_post_text(tx)
@@ -1656,12 +1656,12 @@
             func = lambda frag, w=self.width: w - frag.extraSpace
         else:
             func = lambda frag, w=self.width: w - frag[0]
-        return map(func, self.blPara.lines)
+        return list(map(func, self.blPara.lines))
 
 
 if __name__ == '__main__':    # NORUNTESTS
     def dumpParagraphLines(P):
-        print ('dumpParagraphLines(<Paragraph @ %d>)') % id(P)
+        print(('dumpParagraphLines(<Paragraph @ %d>)') % id(P))
         lines = P.blPara.lines
         for l, line in enumerate(lines):
             line = lines[l]
@@ -1670,9 +1670,9 @@
             else:
                 words = line[1]
             nwords = len(words)
-            print ('line%d: %d(%s)\n  ') % (l, nwords, str(getattr(line, 'wordCount', 'Unknown'))),
-            for w in xrange(nwords):
-                print ("%d:'%s'") % (w, getattr(words[w], 'text', words[w])),
+            print(('line%d: %d(%s)\n  ') % (l, nwords, str(getattr(line, 'wordCount', 'Unknown'))), end=' ')
+            for w in range(nwords):
+                print(("%d:'%s'") % (w, getattr(words[w], 'text', words[w])), end=' ')
             print()
 
     def fragDump(w):
@@ -1683,20 +1683,20 @@
         return ', '.join(R)
 
     def dumpParagraphFrags(P):
-        print ('dumpParagraphFrags(<Paragraph @ %d>) minWidth() = %.2f') % (id(P), P.minWidth())
+        print(('dumpParagraphFrags(<Paragraph @ %d>) minWidth() = %.2f') % (id(P), P.minWidth()))
         frags = P.frags
         n = len(frags)
-        for l in xrange(n):
-            print ("frag%d: '%s' %s") % (
-            l, frags[l].text, ' '.join(['%s=%s' % (k, getattr(frags[l], k)) for k in frags[l].__dict__ if k != text]))
+        for l in range(n):
+            print(("frag%d: '%s' %s") % (
+            l, frags[l].text, ' '.join(['%s=%s' % (k, getattr(frags[l], k)) for k in frags[l].__dict__ if k != text])))
 
         l = 0
         cum = 0
         for W in _getFragWords(frags):
             cum += W[0]
-            print ("fragword%d: cum=%3d size=%d") % (l, cum, W[0]),
+            print(("fragword%d: cum=%3d size=%d") % (l, cum, W[0]), end=' ')
             for w in W[1:]:
-                print ('(%s)') % fragDump(w),
+                print(('(%s)') % fragDumpRefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/reportlab_paragraph.py
(w), end=' ')
             print()
             l += 1
 
@@ -1770,12 +1770,12 @@
         P = Paragraph(text, B)
         dumpParagraphFrags(P)
         w, h = P.wrap(aW, aH)
-        print ('After initial wrap', w, h)
+        print(('After initial wrap', w, h))
         dumpParagraphLines(P)
         S = P.split(aW, aH)
         dumpParagraphFrags(S[0])
         w0, h0 = S[0].wrap(aW, aH)
-        print ('After split wrap', w0, h0)
+        print(('After split wrap', w0, h0))
         dumpParagraphLines(S[0])
 
     if flagged(5):
@@ -1810,7 +1810,7 @@
         w, h = P.wrap(6 * 72, 9.7 * 72)
         dumpParagraphLines(P)
         S = P.split(6 * 72, h / 2.0)
-        print (len(S))
+        print((len(S)))
         dumpParagraphLines(S[0])
         dumpParagraphLines(S[1])
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/pisa.py
file: ../python3/xhtml2pdf/pisa.py
+ 2to3 -w -n ../python3/xhtml2pdf/pisa.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 ../python3/xhtml2pdf/pisa.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/pisa.py
--- ../python3/xhtml2pdf/pisa.py	(original)
+++ ../python3/xhtml2pdf/pisa.py	(refactored)
@@ -10,11 +10,11 @@
 import sys
 import tempfile
 try:
-    import urllib2
+    import urllib.request, urllib.error, urllib.parse
 except ImportError:
     import urllib.request as urllib2
 try:
-    import urlparse
+    import urllib.parse
 except ImportError:
     import urllib.parse as urlparse
 # Copyright 2010 Dirk Holtwick, holtwick.it
@@ -113,15 +113,15 @@
             os.remove(path)
 
     def getFileName(self, name, relative=None):
-        url = urlparse.urljoin(relative or self.src, name)
-        path = urlparse.urlsplit(url)[2]
+        url = urllib.parse.urljoin(relative or self.src, name)
+        path = urllib.parse.urlsplit(url)[2]
         suffix = ""
         if "." in path:
             new_suffix = "." + path.split(".")[-1].lower()
             if new_suffix in (".css", ".gif", ".jpg", ".png"):
                 suffix = new_suffix
         path = tempfile.mktemp(prefix="pisa-", suffix=suffix)
-        ufile = urllib2.urlopen(url)
+        ufile = urllib.request.urlopen(url)
         tfile = file(path, "wb")
         while True:
             data = ufile.read(1024)
@@ -133,7 +133,7 @@
         self.tfileList.append(path)
 
         if not self.quiet:
-            print ("  Loading", url, "to", path)
+            print(("  Loading", url, "to", path))
 
         return path
 
@@ -231,12 +231,12 @@
             print ()
             print ("SYSTEM INFORMATIONS")
             print ("--------------------------------------------")
-            print ("OS:                ", sys.platform)
-            print ("Python:            ", sys.version)
-            print ("html5lib:          ", "?")
+            print(("OS:                ", sys.platform))
+            print(("Python:            ", sys.version))
+            print(("html5lib:          ", "?"))
             import reportlab
 
-            print ("Reportlab:         ", reportlab.Version)
+            print(("Reportlab:         ", reportlab.Version))
             sys.exit(0)
 
         if o in ("-t", "--format"):
@@ -311,7 +311,7 @@
             if src.startswith("http:") or src.startswith("https:"):
                 wpath = src
                 fsrc = getFile(src).getFile()
-                src = "".join(urlparse.urlsplit(src)[1:3]).replace("/", "-")
+                src = "".join(urllib.parse.urlsplit(src)[1:3]).replace("/", "-")
             else:
                 fsrc = wpath = os.path.abspath(src)
                 fsrc = open(fsrc, "rb")
@@ -321,7 +321,7 @@
             if dest_part.lower().endswith(".html") or dest_part.lower().endswith(".htm"):
                 dest_part = ".".join(src.split(".")[:-1])
             dest = dest_part + "." + format.lower()
-            for i in xrange(10):
+            for i in range(10):
                 try:
                     open(dest, "wb").close()
                     break
@@ -345,13 +345,13 @@
             try:
                 open(dest, "wb").close()
             except:
-                print ("File '%s' seems to be in use of another application.") % dest
+                print(("File '%s' seems to be in use of another application.") % dest)
                 sys.exit(2)
             fdest = open(dest, "wb")
             fdestclose = 1
 
         if not quiet:
-            print ("Converting %s to %s...") % (src, dest)
+            print(("Converting %s to %s...") % (src, dest))
 
         pdf = pisaDocument(
             fsrc,
@@ -376,7 +376,7 @@
 
         if (not errors) and startviewer:
             if not quiet:
-                print ("Open viewer for file %s") % dest
+                print(("Open viewer for file %s") % dest)
             startViewer(dest)
 
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/pdf.py
file: ../python3/xhtml2pdf/pdf.py
+ 2to3 -w -n ../python3/xhtml2pdf/pdf.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 ../python3/xhtml2pdf/pdf.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/pdf.py
--- ../python3/xhtml2pdf/pdf.py	(original)
+++ ../python3/xhtml2pdf/pdf.py	(refactored)
@@ -50,7 +50,7 @@
         output = PyPDF2.PdfFileWriter()
         for pdffile in self.files:
             input = PyPDF2.PdfFileReader(pdffile)
-            for pageNumber in xrange(input.getNumPages()):
+            for pageNumber in range(input.getNumPages()):
                 output.addPage(input.getPage(pageNumber))
 
         if file is not None:
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/parser.py
file: ../python3/xhtml2pdf/parser.py
+ 2to3 -w -n ../python3/xhtml2pdf/parser.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 ../python3/xhtml2pdf/parser.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/parser.py
--- ../python3/xhtml2pdf/parser.py	(original)
+++ ../python3/xhtml2pdf/parser.py	(refactored)
@@ -55,7 +55,7 @@
 
     attrs = {}
     if attributes:
-        for k, v in attributes.items():
+        for k, v in list(attributes.items()):
             try:
                 attrs[str(k)] = str(v)  # XXX no Unicode! Reportlab fails with template names
             except:
@@ -66,11 +66,11 @@
         block, adef = TAGS[tag]
         adef["id"] = STRING
         # print block, adef
-        for k, v in adef.iteritems():
+        for k, v in adef.items():
             nattrs[k] = None
             # print k, v
             # defaults, wenn vorhanden
-            if type(v) == types.TupleType:
+            if type(v) == tuple:
                 if v[1] == MUST:
                     if k not in attrs:
                         log.warn(c.warning("Attribute '%s' must be set!", k))
@@ -84,7 +84,7 @@
                 dfl = None
 
             if nv is not None:
-                if type(v) == types.ListType:
+                if type(v) == list:
                     nv = nv.strip().lower()
                     if nv not in v:
                         #~ raise PML_EXCEPTION, "attribute '%s' of wrong value, allowed is one of: %s" % (k, repr(v))
@@ -225,7 +225,7 @@
 
 def getCSSAttrCacheKey(node):
     _cl = _id = _st = ''
-    for k, v in node.attributes.items():
+    for k, v in list(node.attributes.items()):
         if k == 'class':
             _cl = v
         elif k == 'id':
@@ -393,7 +393,7 @@
     Collect all CSS definitions
     """
 
-    data = u""
+    data = ""
     if node.nodeType == Node.TEXT_NODE and collect:
         data = node.data
 
@@ -411,7 +411,7 @@
                     for node in node.childNodes:
                         data += pisaPreLoop(node, context, collect=True)
                     context.addCSS(data)
-                    return u""
+                    return ""
 
                 if name == "link" and attr.href and attr.rel.lower() == "stylesheet":
                     # print "CSS LINK", attr
@@ -647,8 +647,8 @@
     else:
         parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder("dom"))
 
-    if type(src) in types.StringTypes:
-        if type(src) is types.UnicodeType:
+    if type(src) in (str,):
+        if type(src) is str:
             # If an encoding was provided, do not change it.
             if not encoding:
                 encoding = "utf-8"
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/paragraph2.py
file: ../python3/xhtml2pdf/paragraph2.py
+ 2to3 -w -n ../python3/xhtml2pdf/paragraph2.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 ../python3/xhtml2pdf/paragraph2.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/paragraph2.py
--- ../python3/xhtml2pdf/paragraph2.py	(original)
+++ ../python3/xhtml2pdf/paragraph2.py	(refactored)
@@ -344,9 +344,9 @@
         return self.height
 
     def dumpFragments(self):
-        print ("Line", 40 * "-")
+        print(("Line", 40 * "-"))
         for frag in self:
-            print ("%s") % frag.get("text", frag.name.upper()),
+            print(("%s") % frag.get("text", frag.name.upper()), end=' ')
         print()
 
 
@@ -509,7 +509,7 @@
         For debugging dump all line and their content
         """
         for i, line in enumerate(self.lines):
-            print ("Line %d:") % i,
+            print(("Line %d:") % i, end=' ')
             line.dumpFragments()
 
 
@@ -539,7 +539,7 @@
         self.splitted = splitted
 
         # More attributes
-        for k, v in kwDict.iteritems():
+        for k, v in kwDict.items():
             setattr(self, k, v)
 
         # set later...
@@ -556,11 +556,11 @@
         self.avHeight = availHeight
 
         if self.debug:
-            print ("*** wrap (%f, %f)") % (availWidth, availHeight)
+            print(("*** wrap (%f, %f)") % (availWidth, availHeight))
 
         if not self.text:
             if self.debug:
-                print ("*** wrap (%f, %f) needed") % (0, 0)
+                print(("*** wrap (%f, %f) needed") % (0, 0))
             return 0, 0
 
         # Split lines
@@ -570,7 +570,7 @@
         self.width, self.height = availWidth, self.text.height
 
         if self.debug:
-            print ("*** wrap (%f, %f) needed, splitIndex %r") % (self.width, self.height, self.splitIndex)
+            print(("*** wrap (%f, %f) needed, splitIndex %r") % (self.width, self.height, self.splitIndex))
 
         return self.width, self.height
 
@@ -580,7 +580,7 @@
         """
 
         if self.debug:
-            print ("*** split (%f, %f)") % (availWidth, availHeight)
+            print(("*** split (%f, %f)") % (availWidth, availHeight))
 
         splitted = []
         if self.splitIndex:
@@ -591,10 +591,10 @@
             splitted = [p1, p2]
 
             if self.debug:
-                print ("*** text1 %s / text %s") % (len(text1), len(text2))
+                print(("*** text1 %s / text %s") % (len(text1), len(text2)))
 
         if self.debug:
-            print ('*** return %s') % self.splitted
+            print(('*** return %s') % self.splitted)
 
         return splitted
 
@@ -658,7 +658,7 @@
                     _scheme_re = re.compile('^[a-zA-Z][-+a-zA-Z0-9]+$')
                     x, y, w, h = frag["x"], dy - y, frag["width"], frag["fontSize"]
                     rect = (x, y, w, h)
-                    if isinstance(link, unicode):
+                    if isinstance(link, str):
                         link = link.encode('utf8')
                     parts = link.split(':', 1)
                     scheme = len(parts) == 2 and parts[0].lower() or ''
@@ -925,13 +925,13 @@
         # text = Text(list(textGenerator(TEXT, "Times-Roman", 10)))
         text = Text(makeSpecial())
         text.calc()
-        print (text[1].type)
+        print((text[1].type))
         while 1:
             width, br, group = text.getGroup()
             if not group:
-                print ("ENDE", repr(group))
+                print(("ENDE", repr(group)))
                 break
-            print (width, br, " ".join([str(x) for x in group]))
+            print((width, br, " ".join([str(x) for x in group])))
 
     # test2()
     if 1:  # FIXME: Again, why this? And the commented lines around here.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/paragraph.py
file: ../python3/xhtml2pdf/paragraph.py
+ 2to3 -w -n ../python3/xhtml2pdf/paragraph.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 ../python3/xhtml2pdf/paragraph.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/paragraph.py
--- ../python3/xhtml2pdf/paragraph.py	(original)
+++ ../python3/xhtml2pdf/paragraph.py	(refactored)
@@ -288,9 +288,9 @@
         return self.height
 
     def dumpFragments(self):
-        print ("Line", 40 * "-")
+        print(("Line", 40 * "-"))
         for frag in self:
-            print ("%s") % frag.get("text", frag.name.upper()),
+            print(("%s") % frag.get("text", frag.name.upper()), end=' ')
         print()
 
 
@@ -415,7 +415,7 @@
         For debugging dump all line and their content
         """
         for i, line in enumerate(self.lines):
-            print ("Line %d:") % i,
+            print(("Line %d:") % i, end=' ')
             line.dumpFragments()
 
 
@@ -444,7 +444,7 @@
         self.splitted = splitted
 
         # More attributes
-        for k, v in kwDict.iteritems():
+        for k, v in kwDict.items():
             setattr(self, k, v)
 
         # set later...
@@ -461,11 +461,11 @@
         self.avHeight = availHeight
 
         if self.debug:
-            print ("*** wrap (%f, %f)") % (availWidth, availHeight)
+            print(("*** wrap (%f, %f)") % (availWidth, availHeight))
 
         if not self.text:
             if self.debug:
-                print ("*** wrap (%f, %f) needed") % (0, 0)
+                print(("*** wrap (%f, %f) needed") % (0, 0))
             return 0, 0
 
         # Split lines
@@ -475,7 +475,7 @@
         self.width, self.height = availWidth, self.text.height
 
         if self.debug:
-            print ("*** wrap (%f, %f) needed, splitIndex %r") % (self.width, self.height, self.splitIndex)
+            print(("*** wrap (%f, %f) needed, splitIndex %r") % (self.width, self.height, self.splitIndex))
 
         return self.width, self.height
 
@@ -485,7 +485,7 @@
         """
 
         if self.debug:
-            print ("*** split (%f, %f)") % (availWidth, availHeight)
+            print(("*** split (%f, %f)") % (availWidth, availHeight))
 
         splitted = []
         if self.splitIndex:
@@ -496,10 +496,10 @@
             splitted = [p1, p2]
 
             if self.debug:
-                print ("*** text1 %s / text %s") % (len(text1), len(text2))
+                print(("*** text1 %s / text %s") % (len(text1), len(text2)))
 
         if self.debug:
-            print ('*** return %s') % self.splitted
+            print(('*** return %s') % self.splitted)
 
         return splitted
 
@@ -557,7 +557,7 @@
                     _scheme_re = re.compile('^[a-zA-Z][-+a-zA-Z0-9]+$')
                     x, y, w, h = frag["x"], dy - y, frag["width"], frag["fontSize"]
                     rect = (x, y, w, h)
-                    if isinstance(link, unicode):
+                    if isinstance(link, str):
                         link = link.encode('utf8')
                     parts = link.split(':', 1)
                     scheme = len(parts) == 2 and parts[0].lower() or ''
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/document.py
file: ../python3/xhtml2pdf/document.py
+ 2to3 -w -n ../python3/xhtml2pdf/document.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 ../python3/xhtml2pdf/document.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/document.py
--- ../python3/xhtml2pdf/document.py	(original)
+++ ../python3/xhtml2pdf/document.py	(refactored)
@@ -119,7 +119,7 @@
                       topPadding=0)],
             pagesize=context.pageSize)
 
-    doc.addPageTemplates([body] + context.templateList.values())
+    doc.addPageTemplates([body] + list(context.templateList.values()))
 
     # Use multibuild e.g. if a TOC has to be created
     if context.multiBuild:
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/default.py
file: ../python3/xhtml2pdf/default.py
+ 2to3 -w -n ../python3/xhtml2pdf/default.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/xhtml2pdf/default.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/xhtml2pdf/default.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/context.py
file: ../python3/xhtml2pdf/context.py
+ 2to3 -w -n ../python3/xhtml2pdf/context.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 ../python3/xhtml2pdf/context.py
--- ../python3/xhtml2pdf/context.py	(original)
+++ ../python3/xhtml2pdf/context.py	(refactored)
@@ -19,7 +19,7 @@
 import reportlab
 import types
 try:
-    import urlparse
+    import urllib.parse
 except ImportError:
     import urllib.parse as urlparse
 import xhtml2pdf.default
@@ -47,7 +47,7 @@
 subFraction = 0.4   # fraction of font size that a sub script should be lowered
 superFraction = 0.4
 
-NBSP = u"\u00a0"
+NBSP = "\u00a0"
 
 
 def clone(self, **kwargs):
@@ -145,7 +145,7 @@
 
 
 def getDirName(path):
-    parts = urlparse.urlparse(path)
+    parts = urllib.parse.urlparse(path)
     if parts.scheme:
         return path
     else:
@@ -158,7 +158,7 @@
         Embed fonts
         """
         result = self.ruleset([self.selector('*')], declarations)
-        data = result[0].values()[0]
+        data = list(result[0].values())[0]
         if "src" not in data:
             # invalid - source is required, ignore this specification
             return {}, {}
@@ -221,7 +221,7 @@
             result = self.ruleset([self.selector('*')], declarations)
 
             if declarations:
-                data = result[0].values()[0]
+                data = list(result[0].values())[0]
                 pageBorder = data.get("-pdf-frame-border", None)
 
         if name in c.templateList:
@@ -233,12 +233,12 @@
         isLandscape = False
         if "size" in data:
             size = data["size"]
-            if type(size) is not types.ListType:
+            if type(size) is not list:
                 size = [size]
             sizeList = []
             for value in size:
                 valueStr = str(value).lower()
-                if type(value) is types.TupleType:
+                if type(value) is tuple:
                     sizeList.append(getSize(value))
                 elif valueStr == "landscape":
                     isLandscape = True
@@ -363,7 +363,7 @@
 
             data = result[0]
             if data:
-                data = data.values()[0]
+                data = list(data.values())[0]
                 self.c.frameList.append(
                     self._pisaAddFrame(name, data, size=self.c.pageSize))
 
@@ -377,8 +377,8 @@
         cssFile = self.c.getFile(cssResourceName, relative=self.rootPath)
         if not cssFile:
             return None
-        if self.rootPath and urlparse.urlparse(self.rootPath).scheme:
-            self.rootPath = urlparse.urljoin(self.rootPath, cssResourceName)
+        if self.rootPath and urllib.parse.urlparse(self.rootPath).scheme:
+            self.rootPath = urllib.parse.urljoin(self.rootPath, cssResourceName)
         else:
             self.rootPath = getDirName(cssFile.uri)
 
@@ -406,7 +406,7 @@
         self.log = []
         self.err = 0
         self.warn = 0
-        self.text = u""
+        self.text = ""
         self.uidctr = 0
         self.multiBuild = False
 
@@ -447,7 +447,7 @@
 
         # Store path to document
         self.pathDocument = path or "__dummy__"
-        parts = urlparse.urlparse(self.pathDocument)
+        parts = urllib.parse.urlparse(self.pathDocument)
         if not parts.scheme:
             self.pathDocument = os.path.abspath(self.pathDocument)
         self.pathDirectory = getDirName(self.pathDocument)
@@ -572,7 +572,7 @@
 
     def addTOC(self):
         styles = []
-        for i in xrange(20):
+        for i in range(20):
             self.node.attributes["class"] = "pdftoclevel%d" % i
             self.cssAttr = xhtml2pdf.parser.CSSCollect(self.node, self)
             xhtml2pdf.parser.CSS2Frag(self, {
@@ -679,7 +679,7 @@
     def clearFrag(self):
         self.fragList = []
         self.fragStrip = True
-        self.text = u""
+        self.text = ""
 
     def copyFrag(self, **kw):
         return self.frag.clone(**kw)
@@ -716,9 +716,9 @@
 
         # Replace &shy; with empty and normalize NBSP
         text = (text
-                .replace(u"\xad", u"")
-                .replace(u"\xc2\xa0", NBSP)
-                .replace(u"\xa0", NBSP))
+                .replace("\xad", "")
+                .replace("\xc2\xa0", NBSP)RefactoringTool: Files that were modified:
RefactoringTool: ../python3/xhtml2pdf/context.py

+                .replace("\xa0", NBSP))
 
         if frag.whiteSpace == "pre":
 
@@ -734,7 +734,7 @@
                     self._appendFrag(frag)
                 else:
                     # Handle tabs in a simple way
-                    text = text.replace(u"\t", 8 * u" ")
+                    text = text.replace("\t", 8 * " ")
                     # Somehow for Reportlab NBSP have to be inserted
                     # as single character fragments
                     for text in re.split(r'(\ )', text):
@@ -744,7 +744,7 @@
                         frag.text = text
                         self._appendFrag(frag)
         else:
-            for text in re.split(u'(' + NBSP + u')', text):
+            for text in re.split('(' + NBSP + ')', text):
                 frag = baseFrag.clone()
                 if text == NBSP:
                     self.force = True
@@ -832,12 +832,12 @@
         Name of a font
         """
         # print names, self.fontList
-        if type(names) is not types.ListType:
-            if type(names) not in types.StringTypes:
+        if type(names) is not list:
+            if type(names) not in (str,):
                 names = str(names)
             names = names.strip().split(",")
         for name in names:
-            if type(name) not in types.StringTypes:
+            if type(name) not in (str,):
                 name = str(name)
             font = self.fontList.get(name.strip().lower(), None)
             if font is not None:
@@ -847,7 +847,7 @@
     def registerFont(self, fontname, alias=[]):
         self.fontList[str(fontname).lower()] = str(fontname)
         for a in alias:
-            if type(fontname) not in types.StringTypes:
+            if type(fontname) not in (str,):
                 fontname = str(fontname)
             self.fontList[str(a)] = fontname
 
@@ -861,7 +861,7 @@
 
             log.debug("Load font %r", src)
 
-            if type(names) is types.ListType:
+            if type(names) is list:
                 fontAlias = names
             else:
                 fontAlias = (x.lower().strip() for x in names.split(",") if x)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/xhtml2pdf/__init__.py
file: ../python3/xhtml2pdf/__init__.py
+ 2to3 -w -n ../python3/xhtml2pdf/__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: No changes to ../python3/xhtml2pdf/__init__.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/xhtml2pdf/__init__.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/tests/test_utils.py
file: ../python3/tests/test_utils.py
+ 2to3 -w -n ../python3/tests/test_utils.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 ../python3/tests/test_utils.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/tests/test_utils.py
--- ../python3/tests/test_utils.py	(original)
+++ ../python3/tests/test_utils.py	(refactored)
@@ -145,7 +145,7 @@
         }
         expected = (10.0, 20.0, 30.0, 40.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
     
     def test_FrameDimensions_left_top_bottom_right(self):
         dims = {
@@ -156,7 +156,7 @@
         }
         expected = (10.0, 20.0, 50.0, 150.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
 
     def test_FrameDimensions_bottom_right_width_height(self):
         dims = {
@@ -167,7 +167,7 @@
         }
         expected = (10.0, 110.0, 70.0, 80.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
     
     def test_FrameDimensions_left_top_width_height_with_margin(self):
         dims = {
@@ -182,7 +182,7 @@
         }
         expected = (25.0, 30.0, 30.0, 50.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
     
     def test_FrameDimensions_bottom_right_width_height_with_margin(self):
         dims = {
@@ -197,7 +197,7 @@
         }
         expected = (25.0, 120.0, 30.0, 50.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
         
     def test_frame_dimensions_for_box_len_eq_4(self):
         dims = {
@@ -216,7 +216,7 @@
         }
         expected = (10.0, 0.0, 30.0, 200.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
         
     def test_trame_dimentions_for_width_without_left_or_right(self):
         dims = {
@@ -227,7 +227,7 @@
         }
         expected = (0.0, 20.0, 100.0, 40.0)
         result = getFrameDimensions(dims, 100, 200)
-        self.assertEquals(expected, result)
+        self.assertEqual(expected, result)
         
 class GetPosTestCase(TestCase):
     def test_get_pos_simple(self):
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/tests/test_parser.py
file: ../python3/tests/test_parser.py
+ 2to3 -w -n ../python3/tests/test_parser.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/tests/test_parser.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/tests/test_parser.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/tests/runtests.py
file: ../python3/tests/runtests.py
+ 2to3 -w -n ../python3/tests/runtests.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/tests/runtests.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/tests/runtests.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/tests/__init__.py
file: ../python3/tests/__init__.py
+ 2to3 -w -n ../python3/tests/__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 ../python3/tests/__init__.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/tests/__init__.py
--- ../python3/tests/__init__.py	(original)
+++ ../python3/tests/__init__.py	(refactored)
@@ -1 +1 @@
-from runtests import buildTestSuite
+from .runtests import buildTestSuite
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/testrender/testrender.py
file: ../python3/testrender/testrender.py
+ 2to3 -w -n ../python3/testrender/testrender.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 ../python3/testrender/testrender.py
--- ../python3/testrender/testrender.py	(original)
+++ ../python3/testrender/testrender.py	(refactored)
@@ -12,7 +12,7 @@
 
 def render_pdf(filename, output_dir, options):
     if options.debug:
-        print 'Rendering %s' % filename
+        print('Rendering %s' % filename)
     basename = os.path.basename(filename)
     outname = '%s.pdf' % os.path.splitext(basename)[0]
     outfile = os.path.join(output_dir, outname)
@@ -26,14 +26,14 @@
     output.close()
 
     if result.err:
-        print 'Error rendering %s: %s' % (filename, result.err)
+        print('Error rendering %s: %s' % (filename, result.err))
         sys.exit(1)
     return outfile
 
 
 def convert_to_png(infile, output_dir, options):
     if options.debug:
-        print 'Converting %s to PNG' % infile
+        print('Converting %s to PNG' % infile)
     basename = os.path.basename(infile)
     filename = os.path.splitext(basename)[0]
     outname = '%s.page%%0d.png' % filename
@@ -47,7 +47,7 @@
 
 def create_diff_image(srcfile1, srcfile2, output_dir, options):
     if options.debug:
-        print 'Creating difference image for %s and %s' % (srcfile1, srcfile2)
+        print('Creating difference image for %s and %s' % (srcfile1, srcfile2))
 
     outname = '%s.diff%s' % os.path.splitext(srcfile1)
     outfile = os.path.join(output_dir, outname)
@@ -55,13 +55,13 @@
     diff_value = int(result.strip())
     if diff_value > 0:
         if not options.quiet:
-            print 'Image %s differs from reference, value is %i' % (srcfile1, diff_value)
+            print('Image %s differs from reference, value is %i' % (srcfile1, diff_value))
     return outfile, diff_value
 
 
 def copy_ref_image(srcname, output_dir, options):
     if options.debug:
-        print 'Copying reference image %s ' % srcname
+        print('Copying reference image %s ' % srcname)
     dstname = os.path.basename(srcname)
     dstfile = os.path.join(output_dir, '%s.ref%s' % os.path.splitext(dstname))
     shutil.copyfile(srcname, dstfile)
@@ -71,14 +71,14 @@
 def create_thumbnail(filename, options):
     thumbfile = '%s.thumb%s' % os.path.splitext(filename)
     if options.debug:
-        print 'Creating thumbnail of %s' % filename
+        print('Creating thumbnail of %s' % filename)
     exec_cmd(options, options.convert_cmd, '-resize', '20%', filename, thumbfile)
     return thumbfile
 
 
 def render_file(filename, output_dir, ref_dir, options):
     if not options.quiet:
-        print 'Rendering %s' % filename
+        print('Rendering %s' % filename)
     pdf = render_pdf(filename, output_dir, options)
     pngs = convert_to_png(pdf, output_dir, options)
     if options.create_reference:
@@ -91,7 +91,7 @@
         for page in pages:
             refsrc = os.path.join(ref_dir, os.path.basename(page['png']))
             if not os.path.isfile(refsrc):
-                print 'Reference image for %s not found!' % page['png']
+                print('Reference image for %s not found!' % page['png'])
                 continue
             page['ref'] = copy_ref_image(refsrc, output_dir, options)
             page['ref_thumb'] = create_thumbnail(page['ref'], options)
@@ -106,13 +106,13 @@
 
 def exec_cmd(options, *args):
     if options.debug:
-        print 'Executing %s' % ' '.join(args)
+        print('Executing %s' % ' '.join(args))
     proc = Popen(args, stdout=PIPE, stderr=PIPE)
     result = proc.communicate()
     if options.debug:
-        print result[0], result[1]
+        print(result[0], result[1])
     if proc.returncode:
-        print 'exec error (%i): %s' % (proc.returncode, result[1])
+        print('exec error (%i): %s' % (proc.returncode, result[1]))
         sys.exit(1)
     return result[0], result[1]
 
@@ -127,7 +127,7 @@
                     '<h2><a href="%(pdf)s" class="pdf-file">%(pdf)s</a></h2>\n'
                     % {'pdf': pdfname})
         for i, page in enumerate(pages):
-            vars = dict(((k, os.path.basename(v)) for k,v in page.items()
+            vars = dict(((k, os.path.basename(v)) for k,v in list(page.items())
                     RefactoringTool: Files that were modified:
RefactoringTool: ../python3/testrender/testrender.py
     if k != 'diff_value'))
             vars['page'] = i+1
             if 'diff' in page:
@@ -216,15 +216,15 @@
     num = len(results)
 
     if options.create_reference is not None:
-        print 'Created reference for %i file%s' % (num, '' if num == 1 else 's')
+        print('Created reference for %i file%s' % (num, '' if num == 1 else 's'))
     else:
         htmlfile = create_html_file(results, template_file, output_dir, options)
         if not options.quiet:
-            print 'Rendered %i file%s' % (num, '' if num == 1 else 's')
-            print '%i file%s differ%s from reference' % \
+            print('Rendered %i file%s' % (num, '' if num == 1 else 's'))
+            print('%i file%s differ%s from reference' % \
                     (diff_count, diff_count != 1 and 's' or '',
-                     diff_count == 1 and 's' or '')
-            print 'Check %s for results' % htmlfile
+                     diff_count == 1 and 's' or ''))
+            print('Check %s for results' % htmlfile)
         if diff_count:
             sys.exit(1)
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/visualdiff.py
file: ../python3/test/visualdiff.py
+ 2to3 -w -n ../python3/test/visualdiff.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 ../python3/test/visualdiff.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/visualdiff.py
--- ../python3/test/visualdiff.py	(original)
+++ ../python3/test/visualdiff.py	(refactored)
@@ -40,21 +40,21 @@
         self.folder4del = None
 
     def execute(self, *a):
-        print "EXECUTE", " ".join(a)
+        print("EXECUTE", " ".join(a))
         return subprocess.Popen(a, stdout=subprocess.PIPE).communicate()[0]
 
     def getFiles(self, folder, pattern="*.*"):
         pattern = os.path.join(folder, pattern)
         self.files = [x for x in glob.glob(pattern) if not x.startswith(".")]
         self.files.sort()
-        print "FILES", self.files
+        print("FILES", self.files)
         return self.files
 
     def loadFile(self, file, folder=None, delete=True):
         if folder is None:
             folder = self.folder4del = tempfile.mkdtemp(prefix="visualdiff-tmp-")
             delete = True
-        print "FOLDER", folder, "DELETE", delete
+        print("FOLDER", folder, "DELETE", delete)
         source = os.path.abspath(file)
         destination = os.path.join(folder, "image.png")
         self.execute(CONVERT, source, destination)
@@ -62,12 +62,12 @@
         return folder
 
     def compare(self, other, chunk=16 * 1024):
-        if len(self.files) <> len(other.files):
+        if len(self.files) != len(other.files):
             return False
         for i in range(len(self.files)):
             a = open(self.files[i], "rb")
             b = open(other.files[i], "rb")
-            if a.read() <> b.read():
+            if a.read() != b.read():
                 return False
         return True
 
@@ -105,7 +105,7 @@
 
     options, args = getoptions()
 
-    print args
+    print(args)
 
     a = VisualObject()
     b = VisualObject()
@@ -113,7 +113,7 @@
     a.loadFile("expected/test-loremipsum.pdf")
     b.files = a.files
 
-    print a.compare(b)
+    print(a.compare(b))
 
 if __name__=="__main__":
     main()
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/testEvenOddPage.py
file: ../python3/test/testEvenOddPage.py
+ 2to3 -w -n ../python3/test/testEvenOddPage.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/test/testEvenOddPage.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/test/testEvenOddPage.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/testBackground.py
file: ../python3/test/testBackground.py
+ 2to3 -w -n ../python3/test/testBackground.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/test/testBackground.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/test/testBackground.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/story2canvas.py
file: ../python3/test/story2canvas.py
+ 2to3 -w -n ../python3/test/story2canvas.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/test/story2canvas.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/test/story2canvas.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/simple.py
file: ../python3/test/simple.py
+ 2to3 -w -n ../python3/test/simple.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 ../python3/test/simple.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/simple.py
--- ../python3/test/simple.py	(original)
+++ ../python3/test/simple.py	(refactored)
@@ -21,7 +21,7 @@
 import os
 import sys
 import cgi
-import cStringIO
+import io
 import logging
 
 import xhtml2pdf.pisa as pisa
@@ -36,7 +36,7 @@
     #if pdf.warn:
     #    print "*** %d WARNINGS OCCURED" % pdf.warn
     if pdf.err:
-        print "*** %d ERRORS OCCURED" % pdf.err
+        print("*** %d ERRORS OCCURED" % pdf.err)
 
 def testSimple(
     data="""Hello <b>World</b><br/><img src="img/test.jpg"/>""",
@@ -49,7 +49,7 @@
     """
 
     pdf = pisa.CreatePDF(
-        cStringIO.StringIO(data),
+        io.StringIO(data),
         file(dest, "wb")
         )
 
@@ -65,20 +65,20 @@
     file object and then send it to STDOUT
     """
 
-    result = cStringIO.StringIO()
+    result = io.StringIO()
 
     pdf = pisa.CreatePDF(
-        cStringIO.StringIO(data),
+        io.StringIO(data),
         result
         )
 
     if pdf.err:
-        print "Content-Type: text/plain"
-        print
+        print("Content-Type: text/plain")
+        print()
         dumpErrors(pdf)
     else:
-        print "Content-Type: application/octet-stream"
-        print
+        print("Content-Type: application/octet-stream")
+        print()
         sys.stdout.write(result.getvalue())
 
 def testBackgroundAndImage(
@@ -115,10 +115,10 @@
     the Reportlab Toolkit needs real filenames for images and stuff. Then
     we also pass the url as 'path' for relative path calculations.
     """
-    import urllib
+    import urllib.request, urllib.parse, urllib.error
 
     pdf = pisa.CreatePDF(
-        urllib.urlopen(url),
+        urllib.request.urlopen(url),
         file(dest, "wb"),
         log_warn = 1,
         log_err = 1,
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/pdfjoiner.py
file: ../python3/test/pdfjoiner.py
+ 2to3 -w -n ../python3/test/pdfjoiner.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 ../python3/test/pdfjoiner.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/pdfjoiner.py
--- ../python3/test/pdfjoiner.py	(original)
+++ ../python3/test/pdfjoiner.py	(refactored)
@@ -27,7 +27,7 @@
     pdf = pisa_pdf.pisaPDF()
 
     subPdf = pisa.pisaDocument(
-        u"""
+        """
             Hello <strong>World</strong>
         """)
     pdf.addDocument(subPdf)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/linkloading.py
file: ../python3/test/linkloading.py
+ 2to3 -w -n ../python3/test/linkloading.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 ../python3/test/linkloading.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/linkloading.py
--- ../python3/test/linkloading.py	(original)
+++ ../python3/test/linkloading.py	(refactored)
@@ -64,7 +64,7 @@
                 tmpFile.close()
             self.tmpFileList.append(tmpPath)
             return tmpPath
-        except Exception, e:
+        except Exception as e:
             log.exception("myLinkLoader.getFileName")
         return None
 
@@ -74,7 +74,7 @@
     lc = myLinkLoader(database="some_name", port=666).getFileName
 
     pdf = pisa.CreatePDF(
-        u"""
+        """
             <p>
             Hello <strong>World</strong>
             <p>
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/helloworld.py
file: ../python3/test/helloworld.py
+ 2to3 -w -n ../python3/test/helloworld.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 ../python3/test/helloworld.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/helloworld.py
--- ../python3/test/helloworld.py	(original)
+++ ../python3/test/helloworld.py	(refactored)
@@ -23,7 +23,7 @@
 def helloWorld():
     filename = __file__ + ".pdf"
     pdf = pisa.CreatePDF(
-        u"Hello <strong>World</strong>",
+        "Hello <strong>World</strong>",
         file(filename, "wb")
         )
     if not pdf.err:
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/datauri.py
file: ../python3/test/datauri.py
+ 2to3 -w -n ../python3/test/datauri.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 ../python3/test/datauri.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/datauri.py
--- ../python3/test/datauri.py	(original)
+++ ../python3/test/datauri.py	(refactored)
@@ -28,7 +28,7 @@
     datauri = pisa.makeDataURIFromFile('img/denker.png')
     bguri = os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir, "pdf/background-sample.pdf"))
     bguri = pisa.makeDataURIFromFile(bguri)
-    html = u"""
+    html = """
             <style>
             @page {
                 background: url("%s");
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/test/cookbook.py
file: ../python3/test/cookbook.py
+ 2to3 -w -n ../python3/test/cookbook.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 ../python3/test/cookbook.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/test/cookbook.py
--- ../python3/test/cookbook.py	(original)
+++ ../python3/test/cookbook.py	(refactored)
@@ -25,7 +25,7 @@
 """
 
 from xhtml2pdf import pisa
-import cStringIO as StringIO
+import io as StringIO
 
 # Shortcut for dumping all logs to the screen
 pisa.showLogging()
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/setup_version.py
file: ../python3/setup_version.py
+ 2to3 -w -n ../python3/setup_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 ../python3/setup_version.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/setup_version.py
--- ../python3/setup_version.py	(original)
+++ ../python3/setup_version.py	(refactored)
@@ -44,7 +44,7 @@
 rxhelphtml = re.compile("\<\!--HELP--\>.*?\<\!--HELP--\>", re.MULTILINE | re.IGNORECASE | re.DOTALL)
 
 for fname in FILES:
-    print "Update", fname, "..."
+    print("Update", fname, "...")
     data = open(fname, "rb").read()
     data = rxversion.sub("VERSION{" + VERSION + "}VERSION", data)
     data = rxversionhtml.sub("<!--VERSION-->" + VERSION + "<!--VERSION-->", data)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/setup.py
file: ../python3/setup.py
+ 2to3 -w -n ../python3/setup.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/setup.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/setup.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/pisa.py
file: ../python3/pisa.py
+ 2to3 -w -n ../python3/pisa.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/pisa.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/pisa.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/ez_setup.py
file: ../python3/ez_setup.py
+ 2to3 -w -n ../python3/ez_setup.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 ../python3/ez_setup.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/ez_setup.py
--- ../python3/ez_setup.py	(original)
+++ ../python3/ez_setup.py	(refactored)
@@ -65,10 +65,10 @@
     if egg_name in md5_data:
         digest = md5(data).hexdigest()
         if digest != md5_data[egg_name]:
-            print >> sys.stderr, (
+            print((
                 "md5 validation of %s failed!  (Possible download problem?)"
                 % egg_name
-            )
+            ), file=sys.stderr)
             sys.exit(2)
     return data
 
@@ -107,14 +107,14 @@
     try:
         pkg_resources.require("setuptools>=" + version);
         return
-    except pkg_resources.VersionConflict, e:
+    except pkg_resources.VersionConflict as e:
         if was_imported:
-            print >> sys.stderr, (
+            print((
                                      "The required version of setuptools (>=%s) is not available, and\n"
                                      "can't be installed while this script is running. Please install\n"
                                      " a more recent version first, using 'easy_install -U setuptools'."
                                      "\n\n(Currently using %r)"
-                                 ) % (version, e.args[0])
+                                 ) % (version, e.args[0]), file=sys.stderr)
             sys.exit(2)
         else:
             del pkg_resources, sys.modules['pkg_resources']    # reload ok
@@ -134,7 +134,7 @@
     with a '/'). `to_dir` is the directory where the egg will be downloaded.
     `delay` is the number of seconds to pause before an actual download attempt.
     """
-    import urllib2, shutil
+    import urllib.request, urllib.error, urllib.parse, shutil
 
 
     egg_name = "setuptools-%s-py%s.egg" % (version, sys.version[:3])
@@ -168,7 +168,7 @@
 
                 sleep(delay)
             log.warn("Downloading %s", url)
-            src = urllib2.urlopen(url)
+            src = urllib.request.urlopen(url)
             # Read/write all in one block, so we don't create a corrupt file
             # if the download is interrupted.
             data = _validate_md5(egg_name, src.read())
@@ -198,10 +198,10 @@
                 os.unlink(egg)
     else:
         if setuptools.__version__ == '0.0.1':
-            print >> sys.stderr, (
+            print((
                 "You have an obsolete version of setuptools installed.  Please\n"
                 "remove it from your system entirely before rerunning this script."
-            )
+            ), file=sys.stderr)
             sys.exit(2)
 
     req = "setuptools>=" + version
@@ -224,8 +224,8 @@
 
             main(argv)
         else:
-            print "Setuptools version", version, "or greater has been installed."
-            print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)'
+            print("Setuptools version", version, "or greater has been installed.")
+            print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)')
 
 
 def update_md5(filenames):
@@ -240,7 +240,7 @@
         md5_data[base] = md5(f.read()).hexdigest()
         f.close()
 
-    data = ["    %r: %r,\n" % it for it in md5_data.items()]
+    data = ["    %r: %r,\n" % it for it in list(md5_data.items())]
     data.sort()
     repl = "".join(data)
 
@@ -254,7 +254,7 @@
 
     match = re.search("\nmd5_data = {\n([^}]+)}", src)
     if not match:
-        print >> sys.stderr, "Internal error!"
+        print("Internal error!", file=sys.stderr)
         sys.exit(2)
 
     src = src[:match.start(1)] + repl + src[match.end(1):]
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/wsgi/pisawsgidemo.py
file: ../python3/demo/wsgi/pisawsgidemo.py
+ 2to3 -w -n ../python3/demo/wsgi/pisawsgidemo.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 ../python3/demo/wsgi/pisawsgidemo.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/wsgi/pisawsgidemo.py
--- ../python3/demo/wsgi/pisawsgidemo.py	(original)
+++ ../python3/demo/wsgi/pisawsgidemo.py	(refactored)
@@ -66,5 +66,5 @@
     app = wsgi.PisaMiddleware(app)
 
     httpd = make_server(HOST, PORT, app)
-    print "Serving HTTP on port %d..." % PORT
+    print("Serving HTTP on port %d..." % PORT)
     httpd.serve_forever()
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/templates/__init__.py
file: ../python3/demo/tgpisa/tgpisa/templates/__init__.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/templates/__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: No files need to be modified.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/release.py
file: ../python3/demo/tgpisa/tgpisa/release.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/release.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/tgpisa/tgpisa/release.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/tgpisa/tgpisa/release.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/model.py
file: ../python3/demo/tgpisa/tgpisa/model.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/model.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/tgpisa/tgpisa/model.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/tgpisa/tgpisa/model.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/json.py
file: ../python3/demo/tgpisa/tgpisa/json.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/json.py
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.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/controllers.py
file: ../python3/demo/tgpisa/tgpisa/controllers.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/controllers.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 ../python3/demo/tgpisa/tgpisa/controllers.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/tgpisa/tgpisa/controllers.py
--- ../python3/demo/tgpisa/tgpisa/controllers.py	(original)
+++ ../python3/demo/tgpisa/tgpisa/controllers.py	(refactored)
@@ -5,17 +5,17 @@
     pkg_resources.require("SQLObject>=0.8,<=0.10.0")
 except pkg_resources.DistributionNotFound:
     import sys
-    print >> sys.stderr, """You are required to install SQLObject but appear not to have done so.
+    print("""You are required to install SQLObject but appear not to have done so.
 Please run your projects setup.py or run `easy_install SQLObject`.
 
-"""
+""", file=sys.stderr)
     sys.exit(1)
 # import logging
 # log = logging.getLogger("tgpisa.controllers")
 
 from turbogears.decorator import weak_signature_decorator
 import sx.pisa3 as pisa
-import cStringIO as StringIO
+import io as StringIO
 import cherrypy
 
 def pdf(filename=None, content_type="application/pdf"):
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/config/__init__.py
file: ../python3/demo/tgpisa/tgpisa/config/__init__.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/config/__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: No files need to be modified.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/commands.py
file: ../python3/demo/tgpisa/tgpisa/commands.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/commands.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/tgpisa/tgpisa/commands.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/tgpisa/tgpisa/commands.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/tgpisa/__init__.py
file: ../python3/demo/tgpisa/tgpisa/__init__.py
+ 2to3 -w -n ../python3/demo/tgpisa/tgpisa/__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: No files need to be modified.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/start-tgpisa.py
file: ../python3/demo/tgpisa/start-tgpisa.py
+ 2to3 -w -n ../python3/demo/tgpisa/start-tgpisa.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 ../python3/demo/tgpisa/start-tgpisa.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/tgpisa/start-tgpisa.py
--- ../python3/demo/tgpisa/start-tgpisa.py	(original)
+++ ../python3/demo/tgpisa/start-tgpisa.py	(refactored)
@@ -14,6 +14,6 @@
 if __name__ == "__main__":
     try:
         start()
-    except ConfigurationError, exc:
+    except ConfigurationError as exc:
         sys.stderr.write(str(exc))
         sys.exit(1)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/tgpisa/setup.py
file: ../python3/demo/tgpisa/setup.py
+ 2to3 -w -n ../python3/demo/tgpisa/setup.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 ../python3/demo/tgpisa/setup.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/tgpisa/setup.py
--- ../python3/demo/tgpisa/setup.py	(original)
+++ ../python3/demo/tgpisa/setup.py	(refactored)
@@ -4,7 +4,7 @@
 from turbogears.finddata import find_package_data
 
 import os
-execfile(os.path.join("tgpisa", "release.py"))
+exec(compile(open(os.path.join("tgpisa", "release.py"), "rb").read(), os.path.join("tgpisa", "release.py"), 'exec'))
 
 packages=find_packages()
 package_data = find_package_data(where='tgpisa',
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/views.py
file: ../python3/demo/djangoproject/views.py
+ 2to3 -w -n ../python3/demo/djangoproject/views.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 ../python3/demo/djangoproject/views.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/djangoproject/views.py
--- ../python3/demo/djangoproject/views.py	(original)
+++ ../python3/demo/djangoproject/views.py	(refactored)
@@ -6,7 +6,7 @@
 from django.template.loader import get_template
 from django.template import Context
 import xhtml2pdf.pisa as pisa
-import cStringIO as StringIO
+import io as StringIO
 import cgi
 
 def index(request):
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/urls.py
file: ../python3/demo/djangoproject/urls.py
+ 2to3 -w -n ../python3/demo/djangoproject/urls.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/djangoproject/urls.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/djangoproject/urls.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/settings.py
file: ../python3/demo/djangoproject/settings.py
+ 2to3 -w -n ../python3/demo/djangoproject/settings.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/djangoproject/settings.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/djangoproject/settings.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/manage.py
file: ../python3/demo/djangoproject/manage.py
+ 2to3 -w -n ../python3/demo/djangoproject/manage.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 ../python3/demo/djangoproject/manage.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/djangoproject/manage.py
--- ../python3/demo/djangoproject/manage.py	(original)
+++ ../python3/demo/djangoproject/manage.py	(refactored)
@@ -20,7 +20,7 @@
     logging.basicConfig()
 
 try:
-    import settings # Assumed to be in the same directory.
+    from . import settings # Assumed to be in the same directory.
 except ImportError:
     import sys
     sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/ezpdf.py
file: ../python3/demo/djangoproject/ezpdf.py
+ 2to3 -w -n ../python3/demo/djangoproject/ezpdf.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 ../python3/demo/djangoproject/ezpdf.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/djangoproject/ezpdf.py
--- ../python3/demo/djangoproject/ezpdf.py	(original)
+++ ../python3/demo/djangoproject/ezpdf.py	(refactored)
@@ -4,7 +4,7 @@
 from django.template.loader import get_template
 from django.template import Context
 from django.http import HttpResponse
-import cStringIO as StringIO
+import io as StringIO
 from sx.pisa3 import pisaDocument
 import cgi
 
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/django-admin.py
file: ../python3/demo/djangoproject/django-admin.py
+ 2to3 -w -n ../python3/demo/djangoproject/django-admin.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to ../python3/demo/djangoproject/django-admin.py
RefactoringTool: Files that need to be modified:
RefactoringTool: ../python3/demo/djangoproject/django-admin.py
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/djangoproject/__init__.py
file: ../python3/demo/djangoproject/__init__.py
+ 2to3 -w -n ../python3/demo/djangoproject/__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: No files need to be modified.
+ for i in $(find ../python3 -type f -name '*.py')
+ echo file: ../python3/demo/cherrypy/demo-cherrypy.py
file: ../python3/demo/cherrypy/demo-cherrypy.py
+ 2to3 -w -n ../python3/demo/cherrypy/demo-cherrypy.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 ../python3/demo/cherrypy/demo-cherrypy.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/demo/cherrypy/demo-cherrypy.py
--- ../python3/demo/cherrypy/demo-cherrypy.py	(original)
+++ ../python3/demo/cherrypy/demo-cherrypy.py	(refactored)
@@ -7,7 +7,7 @@
 
 import cherrypy as cp
 import sx.pisa3 as pisa
-import cStringIO as StringIO
+import io as StringIO
 
 try:
     import kid
+ mv ../python3/test/witherror.bak ../python3/test/witherror.py
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.14864
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-xhtml2pdf-0.0.6
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python setup.py build --debug
running build
running build_py
creating build
creating build/lib
creating build/lib/xhtml2pdf
copying xhtml2pdf/xhtml2pdf_reportlab.py -> build/lib/xhtml2pdf
copying xhtml2pdf/wsgi.py -> build/lib/xhtml2pdf
copying xhtml2pdf/version.py -> build/lib/xhtml2pdf
copying xhtml2pdf/util.py -> build/lib/xhtml2pdf
copying xhtml2pdf/turbogears.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tags.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tables.py -> build/lib/xhtml2pdf
copying xhtml2pdf/reportlab_paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pisa.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pdf.py -> build/lib/xhtml2pdf
copying xhtml2pdf/parser.py -> build/lib/xhtml2pdf
copying xhtml2pdf/paragraph2.py -> build/lib/xhtml2pdf
copying xhtml2pdf/paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/document.py -> build/lib/xhtml2pdf
copying xhtml2pdf/default.py -> build/lib/xhtml2pdf
copying xhtml2pdf/context.py -> build/lib/xhtml2pdf
copying xhtml2pdf/__init__.py -> build/lib/xhtml2pdf
creating build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssSpecial.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssParser.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssDOMElementInterface.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/css.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/__init__.py -> build/lib/xhtml2pdf/w3c
running egg_info
creating xhtml2pdf.egg-info
writing requirements to xhtml2pdf.egg-info/requires.txt
writing xhtml2pdf.egg-info/PKG-INFO
writing top-level names to xhtml2pdf.egg-info/top_level.txt
writing dependency_links to xhtml2pdf.egg-info/dependency_links.txt
writing entry points to xhtml2pdf.egg-info/entry_points.txt
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python3 setup.py build --debug
running build
running build_py
creating build
creating build/lib
creating build/lib/xhtml2pdf
copying xhtml2pdf/xhtml2pdf_reportlab.py -> build/lib/xhtml2pdf
copying xhtml2pdf/wsgi.py -> build/lib/xhtml2pdf
copying xhtml2pdf/version.py -> build/lib/xhtml2pdf
copying xhtml2pdf/util.py -> build/lib/xhtml2pdf
copying xhtml2pdf/turbogears.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tags.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tables.py -> build/lib/xhtml2pdf
copying xhtml2pdf/reportlab_paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pisa.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pdf.py -> build/lib/xhtml2pdf
copying xhtml2pdf/parser.py -> build/lib/xhtml2pdf
copying xhtml2pdf/paragraph2.py -> build/lib/xhtml2pdf
copying xhtml2pdf/paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/document.py -> build/lib/xhtml2pdf
copying xhtml2pdf/default.py -> build/lib/xhtml2pdf
copying xhtml2pdf/context.py -> build/lib/xhtml2pdf
copying xhtml2pdf/__init__.py -> build/lib/xhtml2pdf
creating build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssSpecial.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssParser.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssDOMElementInterface.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/css.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/__init__.py -> build/lib/xhtml2pdf/w3c
running egg_info
creating xhtml2pdf.egg-info
writing xhtml2pdf.egg-info/PKG-INFO
writing dependency_links to xhtml2pdf.egg-info/dependency_links.txt
writing entry points to xhtml2pdf.egg-info/entry_points.txt
writing requirements to xhtml2pdf.egg-info/requires.txt
writing top-level names to xhtml2pdf.egg-info/top_level.txt
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
+ popd
~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.70144
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-xhtml2pdf-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/python-module-xhtml2pdf-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd python-module-xhtml2pdf-0.0.6
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-xhtml2pdf-buildroot --force
running install
running install_lib
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/__init__.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/css.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssDOMElementInterface.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssParser.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssSpecial.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/__init__.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/context.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/default.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/document.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/paragraph.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/paragraph2.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/parser.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/pdf.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/pisa.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/reportlab_paragraph.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/tables.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/tags.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/turbogears.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/util.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/version.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/wsgi.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/xhtml2pdf_reportlab.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py to css.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py to cssDOMElementInterface.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py to cssParser.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssSpecial.py to cssSpecial.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py to context.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/default.py to default.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/document.py to document.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py to paragraph.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py to paragraph2.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/parser.py to parser.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pdf.py to pdf.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py to pisa.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py to reportlab_paragraph.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tables.py to tables.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tags.py to tags.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/turbogears.py to turbogears.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py to util.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/version.py to version.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/wsgi.py to wsgi.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py to xhtml2pdf_reportlab.cpython-37.pyc
writing byte-compilation script '/usr/src/tmp/tmplab207p2.py'
/usr/bin/python3 /usr/src/tmp/tmplab207p2.py
removing /usr/src/tmp/tmplab207p2.py
running install_egg_info
running egg_info
writing xhtml2pdf.egg-info/PKG-INFO
writing dependency_links to xhtml2pdf.egg-info/dependency_links.txt
writing entry points to xhtml2pdf.egg-info/entry_points.txt
writing requirements to xhtml2pdf.egg-info/requires.txt
writing top-level names to xhtml2pdf.egg-info/top_level.txt
reading manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
Copying xhtml2pdf.egg-info to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf-0.0.6-py3.7.egg-info
running install_scripts
Installing pisa script to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin
Installing xhtml2pdf script to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin
+ popd
~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
+ pushd /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin
~/tmp/python-module-xhtml2pdf-buildroot/usr/bin ~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
++ ls
+ for i in $(ls)
+ mv pisa pisa.py3
+ for i in $(ls)
+ mv xhtml2pdf xhtml2pdf.py3
+ popd
~/RPM/BUILD/python-module-xhtml2pdf-0.0.6
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-xhtml2pdf-buildroot --force
running install
running install_lib
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
creating /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/__init__.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/css.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssDOMElementInterface.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssParser.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/w3c/cssSpecial.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c
copying build/lib/xhtml2pdf/__init__.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/context.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/default.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/document.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/paragraph.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/paragraph2.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/parser.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/pdf.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/pisa.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/reportlab_paragraph.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/tables.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/tags.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/turbogears.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/util.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/version.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/wsgi.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
copying build/lib/xhtml2pdf/xhtml2pdf_reportlab.py -> /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.py to __init__.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py to css.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py to cssDOMElementInterface.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py to cssParser.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssSpecial.py to cssSpecial.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py to __init__.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py to context.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/default.py to default.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py to document.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py to paragraph.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py to paragraph2.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py to parser.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.py to pdf.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py to pisa.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py to reportlab_paragraph.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py to tables.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py to tags.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.py to turbogears.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py to util.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/version.py to version.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.py to wsgi.pyc
byte-compiling /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py to xhtml2pdf_reportlab.pyc
writing byte-compilation script '/usr/src/tmp/tmp6Iydep.py'
/usr/bin/python -O /usr/src/tmp/tmp6Iydep.py
removing /usr/src/tmp/tmp6Iydep.py
running install_egg_info
running egg_info
writing requirements to xhtml2pdf.egg-info/requires.txt
writing xhtml2pdf.egg-info/PKG-INFO
writing top-level names to xhtml2pdf.egg-info/top_level.txt
writing dependency_links to xhtml2pdf.egg-info/dependency_links.txt
writing entry points to xhtml2pdf.egg-info/entry_points.txt
reading manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
Copying xhtml2pdf.egg-info to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf-0.0.6-py2.7.egg-info
running install_scripts
Installing pisa script to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin
Installing xhtml2pdf script to /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/python-module-xhtml2pdf-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/python-module-xhtml2pdf-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/python-module-xhtml2pdf-buildroot/ (default)
Compressing files in /usr/src/tmp/python-module-xhtml2pdf-buildroot (auto)
Adjusting library links in /usr/src/tmp/python-module-xhtml2pdf-buildroot
./usr/lib:
Verifying ELF objects in /usr/src/tmp/python-module-xhtml2pdf-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-xhtml2pdf-buildroot using /usr/bin/python
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssSpecial.pyc
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssSpecial.py
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/default.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/version.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.pyc
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/default.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/version.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py
Bytecompiling python modules with optimization in /usr/src/tmp/python-module-xhtml2pdf-buildroot using /usr/bin/python -O
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssSpecial.pyo
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssSpecial.py
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/default.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/version.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.pyo
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.pyo
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/default.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/version.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py
Bytecompiling python3 modules in /usr/src/tmp/python-module-xhtml2pdf-buildroot using /usr/bin/python3
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/context.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/context.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph2.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph2.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/parser.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/parser.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pisa.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pisa.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/reportlab_paragraph.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/reportlab_paragraph.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tags.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tags.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/util.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/util.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/xhtml2pdf_reportlab.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__pycache__/xhtml2pdf_reportlab.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/css.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/css.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssDOMElementInterface.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssDOMElementInterface.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssParser.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssParser.cpython-37.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssSpecial.cpython-37.opt-1.pyc
unlink /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssSpecial.cpython-37.pyc
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssSpecial.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/default.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/document.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/parser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pdf.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tables.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tags.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/turbogears.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/version.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/wsgi.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py
Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-xhtml2pdf-buildroot using /usr/bin/python3 -O
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssSpecial.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/default.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/document.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/parser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pdf.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tables.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tags.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/turbogears.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/version.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/wsgi.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py
Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-xhtml2pdf-buildroot using /usr/bin/python3 -OO
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssSpecial.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/default.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/document.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/parser.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pdf.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tables.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/tags.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/turbogears.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/version.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/wsgi.py
compile /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py
Hardlinking identical .pyc and .opt-?.pyc files
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/xhtml2pdf_reportlab.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/xhtml2pdf_reportlab.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/wsgi.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/version.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/util.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/util.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/turbogears.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tags.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tags.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/tables.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pisa.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pisa.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/pdf.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/parser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/parser.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph2.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph2.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/paragraph.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/document.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/default.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/context.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/context.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/__pycache__/__init__.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssParser.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssParser.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssDOMElementInterface.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/cssDOMElementInterface.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.pyc'
'./usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/xhtml2pdf/w3c/__pycache__/__init__.cpython-37.opt-1.pyc'
Hardlinking identical .pyc and .pyo files
'./usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/version.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/version.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/util.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/util.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/tags.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/tags.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/tables.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/tables.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/pisa.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/pisa.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/pdf.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/pdf.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/parser.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/parser.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/document.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/document.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/default.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/default.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/context.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/context.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/__init__.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/__init__.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.pyc'
'./usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.pyo' => './usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.pyc'
Processing files: python-module-xhtml2pdf-0.0.6-alt1.git20140628.2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58795
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-xhtml2pdf-0.0.6
+ DOCDIR=/usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ /bin/mkdir -p /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ cp -prL CHANGELOG.txt LICENSE.txt VERSION.txt requirements.txt AUTHORS.rst README.rst doc/howto-running-tests.rst doc/usage.rst /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ chmod -R go-w /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ chmod -R a+rX /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-0.0.6
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bTM9DK
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.qvWqJg
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin/pisa: skipping sys
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin/xhtml2pdf: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py: line=41 IGNORE (for REQ=slight and deep=8) module=xhtml2pdf
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py: line=46 IGNORE (for REQ=slight and deep=8) module=sys
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/__init__.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: line=22 IGNORE (for REQ=slight and deep=8) module=urlparse
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: line=24 IGNORE (for REQ=slight and deep=8) module=urllib
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/context.py: line=490 IGNORE (for REQ=slight and deep=11) module=weakref
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/document.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=581 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=582 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=583 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=584 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=586 IGNORE (for REQ=slight and deep=8) module=os
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=587 IGNORE (for REQ=slight and deep=8) module=copy
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py: line=588 IGNORE (for REQ=slight and deep=8) module=re
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=679 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=680 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=681 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=682 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=684 IGNORE (for REQ=slight and deep=8) module=os
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=685 IGNORE (for REQ=slight and deep=8) module=copy
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py: line=686 IGNORE (for REQ=slight and deep=8) module=re
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pdf.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=13 IGNORE (for REQ=slight and deep=8) module=urllib2
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=15 IGNORE (for REQ=slight and deep=8) module=urllib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=17 IGNORE (for REQ=slight and deep=8) module=urlparse
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=19 IGNORE (for REQ=slight and deep=8) module=urllib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=144 IGNORE (for REQ=slight and deep=12) module=cProfile
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=145 IGNORE (for REQ=slight and deep=12) module=pstats
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=237 IGNORE (for REQ=slight and deep=16) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=338 IGNORE (for REQ=slight and deep=20) module=msvcrt
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=417 IGNORE (for REQ=slight and deep=8) module=base64
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py: line=421 IGNORE (for REQ=slight and deep=16) module=mimetypes
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py: line=838 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1416 IGNORE (for REQ=slight and deep=11) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1703 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1704 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1705 IGNORE (for REQ=slight and deep=8) module=sys
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tables.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/tags.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.py: hiding turbogears, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/turbogears.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=7 IGNORE (for REQ=slight and deep=8) module=httplib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=9 IGNORE (for REQ=slight and deep=8) module=http
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=22 IGNORE (for REQ=slight and deep=8) module=urllib2
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=24 IGNORE (for REQ=slight and deep=8) module=urllib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=26 IGNORE (for REQ=slight and deep=8) module=urlparse
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=28 IGNORE (for REQ=slight and deep=8) module=urllib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=56 IGNORE (for REQ=slight and deep=8) module=cStringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=59 IGNORE (for REQ=slight and deep=12) module=StringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=61 IGNORE (for REQ=slight and deep=12) module=io
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=64 IGNORE (for REQ=slight and deep=8) module=PyPDF2
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=69 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=74 IGNORE (for REQ=slight and deep=8) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=121 IGNORE (for REQ=slight and deep=8) module=traceback
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=122 IGNORE (for REQ=slight and deep=8) module=sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=589 IGNORE (for REQ=slight and deep=27) module=gzip
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=591 IGNORE (for REQ=slight and deep=31) module=cStringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=594 IGNORE (for REQ=slight and deep=35) module=StringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/util.py: line=596 IGNORE (for REQ=slight and deep=35) module=io
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py: line=56 IGNORE (for REQ=slight and deep=8) module=sets
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py: hiding cssParser, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py: hiding cssSpecial, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py: hiding css, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py: hiding cssSpecial, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/wsgi.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: hiding xhtml2pdf, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=39 IGNORE (for REQ=slight and deep=8) module=PIL
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=42 IGNORE (for REQ=slight and deep=12) module=Image
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=330 IGNORE (for REQ=slight and deep=31) module=rl_config
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=347 IGNORE (for REQ=slight and deep=23) module=reportlab
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=368 IGNORE (for REQ=slight and deep=15) module=javax
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=369 IGNORE (for REQ=slight and deep=15) module=java
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=397 IGNORE (for REQ=slight and deep=19) module=jarray
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=398 IGNORE (for REQ=slight and deep=19) module=java
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/paragraph2.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/__init__.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py is not executable
Provides: python2.7(xhtml2pdf), python2.7(xhtml2pdf.context), python2.7(xhtml2pdf.default), python2.7(xhtml2pdf.document), python2.7(xhtml2pdf.paragraph), python2.7(xhtml2pdf.paragraph2), python2.7(xhtml2pdf.parser), python2.7(xhtml2pdf.pdf), python2.7(xhtml2pdf.pisa), python2.7(xhtml2pdf.reportlab_paragraph), python2.7(xhtml2pdf.tables), python2.7(xhtml2pdf.tags), python2.7(xhtml2pdf.turbogears), python2.7(xhtml2pdf.util), python2.7(xhtml2pdf.version), python2.7(xhtml2pdf.w3c), python2.7(xhtml2pdf.w3c.css), python2.7(xhtml2pdf.w3c.cssDOMElementInterface), python2.7(xhtml2pdf.w3c.cssParser), python2.7(xhtml2pdf.w3c.cssSpecial), python2.7(xhtml2pdf.wsgi), python2.7(xhtml2pdf.xhtml2pdf_reportlab)
Requires: python-module-PyPDF2, /usr/bin/python, /usr/lib/python2.7/site-packages, python-modules, python2.7(cherrypy), python2.7(html5lib), python2.7(logging), python2.7(mimetypes), python2.7(pkg_resources), python2.7(reportlab), python2.7(xml)
Conflicts: python-module-pisa
Processing files: python-module-xhtml2pdf-demos-0.0.6-alt1.git20140628.2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.83808
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-xhtml2pdf-0.0.6
+ DOCDIR=/usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ /bin/mkdir -p /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ cp -prL demo/cherrypy demo/djangoproject demo/tgpisa demo/wsgi /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ chmod -R go-w /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ chmod -R a+rX /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python-module-xhtml2pdf-demos-0.0.6
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5awE7Q
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.Er8U9u
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: python-module-xhtml2pdf = 0.0.6-alt1.git20140628.2
Processing files: python3-module-xhtml2pdf-0.0.6-alt1.git20140628.2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40509
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-xhtml2pdf-0.0.6
+ DOCDIR=/usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ /bin/mkdir -p /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ cp -prL CHANGELOG.txt LICENSE.txt VERSION.txt requirements.txt AUTHORS.rst README.rst doc/howto-running-tests.rst doc/usage.rst /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ chmod -R go-w /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ chmod -R a+rX /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/share/doc/python3-module-xhtml2pdf-0.0.6
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Nymgvd
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.QCNfwZ
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin/pisa.py3: skipping sys
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/bin/xhtml2pdf.py3: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py: line=41 IGNORE (for REQ=slight and deep=8) module=xhtml2pdf.util
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/__init__.py: line=46 IGNORE (for REQ=slight and deep=8) module=sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py: line=22 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py: line=24 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/context.py: line=490 IGNORE (for REQ=slight and deep=11) module=weakref
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=581 IGNORE (for REQ=slight and deep=8) module=reportlab.platypus
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=582 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.styles
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=583 IGNORE (for REQ=slight and deep=8) module=reportlab.rl_config
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=584 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.units
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=586 IGNORE (for REQ=slight and deep=8) module=os
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=587 IGNORE (for REQ=slight and deep=8) module=copy
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py: line=588 IGNORE (for REQ=slight and deep=8) module=re
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=679 IGNORE (for REQ=slight and deep=8) module=reportlab.platypus
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=680 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.styles
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=681 IGNORE (for REQ=slight and deep=8) module=reportlab.rl_config
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=682 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.units
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=684 IGNORE (for REQ=slight and deep=8) module=os
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=685 IGNORE (for REQ=slight and deep=8) module=copy
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py: line=686 IGNORE (for REQ=slight and deep=8) module=re
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=13 IGNORE (for REQ=slight and deep=8) module=urllib.request
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=13 IGNORE (for REQ=slight and deep=8) module=urllib.error
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=13 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=15 IGNORE (for REQ=slight and deep=8) module=urllib.request
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=17 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=19 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=144 IGNORE (for REQ=slight and deep=12) module=cProfile
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=145 IGNORE (for REQ=slight and deep=12) module=pstats
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=237 IGNORE (for REQ=slight and deep=16) module=reportlab
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=338 IGNORE (for REQ=slight and deep=20) module=msvcrt
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=417 IGNORE (for REQ=slight and deep=8) module=base64
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/pisa.py: line=421 IGNORE (for REQ=slight and deep=16) module=mimetypes
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py: line=838 IGNORE (for REQ=slight and deep=8) module=reportlab.rl_config
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1416 IGNORE (for REQ=slight and deep=11) module=reportlab.lib.textsplit
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1703 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.styles
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1704 IGNORE (for REQ=slight and deep=8) module=reportlab.lib.units
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/reportlab_paragraph.py: line=1705 IGNORE (for REQ=slight and deep=8) module=sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/turbogears.py: line=17 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=7 IGNORE (for REQ=slight and deep=8) module=http.client
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=9 IGNORE (for REQ=slight and deep=8) module=http.client
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=22 IGNORE (for REQ=slight and deep=8) module=urllib.request
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=22 IGNORE (for REQ=slight and deep=8) module=urllib.error
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=22 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=24 IGNORE (for REQ=slight and deep=8) module=urllib.request
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=26 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=28 IGNORE (for REQ=slight and deep=8) module=urllib.parse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=56 IGNORE (for REQ=slight and deep=8) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=59 IGNORE (for REQ=slight and deep=12) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=61 IGNORE (for REQ=slight and deep=12) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=64 IGNORE (for REQ=slight and deep=8) module=PyPDF2
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=69 IGNORE (for REQ=slight and deep=8) module=reportlab.graphics
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=74 IGNORE (for REQ=slight and deep=8) module=reportlab.graphics
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=121 IGNORE (for REQ=slight and deep=8) module=traceback
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=122 IGNORE (for REQ=slight and deep=8) module=sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=589 IGNORE (for REQ=slight and deep=27) module=gzip
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=591 IGNORE (for REQ=slight and deep=31) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=594 IGNORE (for REQ=slight and deep=35) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/util.py: line=596 IGNORE (for REQ=slight and deep=35) module=io
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py: line=56 IGNORE (for REQ=slight and deep=8) module=sets
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py: line=57 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py: line=58 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py: line=16 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py: line=36 possible relative import from ., UNIMPLEMENTED
python3.req: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=39 IGNORE (for REQ=slight and deep=8) module=PIL.Image
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=42 IGNORE (for REQ=slight and deep=12) module=Image
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=330 IGNORE (for REQ=slight and deep=31) module=rl_config
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=347 IGNORE (for REQ=slight and deep=23) module=reportlab.pdfbase.pdfutils
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=368 IGNORE (for REQ=slight and deep=15) module=javax.imageio
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=369 IGNORE (for REQ=slight and deep=15) module=java.io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=397 IGNORE (for REQ=slight and deep=19) module=jarray
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/xhtml2pdf_reportlab.py: line=398 IGNORE (for REQ=slight and deep=19) module=java.awt.image
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/paragraph2.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/__init__.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/css.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssDOMElementInterface.py is not executable
shebang.req.files: executable script /usr/src/tmp/python-module-xhtml2pdf-buildroot/usr/lib/python3/site-packages/xhtml2pdf/w3c/cssParser.py is not executable
Provides: python3(xhtml2pdf), python3(xhtml2pdf.context), python3(xhtml2pdf.default), python3(xhtml2pdf.document), python3(xhtml2pdf.paragraph), python3(xhtml2pdf.paragraph2), python3(xhtml2pdf.parser), python3(xhtml2pdf.pdf), python3(xhtml2pdf.pisa), python3(xhtml2pdf.reportlab_paragraph), python3(xhtml2pdf.tables), python3(xhtml2pdf.tags), python3(xhtml2pdf.turbogears), python3(xhtml2pdf.util), python3(xhtml2pdf.version), python3(xhtml2pdf.w3c), python3(xhtml2pdf.w3c.css), python3(xhtml2pdf.w3c.cssDOMElementInterface), python3(xhtml2pdf.w3c.cssParser), python3(xhtml2pdf.w3c.cssSpecial), python3(xhtml2pdf.wsgi), python3(xhtml2pdf.xhtml2pdf_reportlab)
Requires: python3-module-PyPDF2, /usr/bin/python3, /usr/lib/python3/site-packages, python3(base64) < 0, python3(cgi) < 0, python3(cherrypy) < 0, python3(copy) < 0, python3(getopt) < 0, python3(glob) < 0, python3(hashlib) < 0, python3(html5lib) < 0, python3(io) < 0, python3(logging) < 0, python3(mimetypes) < 0, python3(operator) < 0, python3(os) < 0, python3(os.path) < 0, python3(pkg_resources) < 0, python3(re) < 0, python3(reportlab) < 0, python3(reportlab.graphics.barcode) < 0, python3(reportlab.lib.abag) < 0, python3(reportlab.lib.colors) < 0, python3(reportlab.lib.enums) < 0, python3(reportlab.lib.fonts) < 0, python3(reportlab.lib.pagesizes) < 0, python3(reportlab.lib.styles) < 0, python3(reportlab.lib.textsplit) < 0, python3(reportlab.lib.units) < 0, python3(reportlab.lib.utils) < 0, python3(reportlab.pdfbase) < 0, python3(reportlab.pdfbase.pdfform) < 0, python3(reportlab.pdfbase.pdfmetrics) < 0, python3(reportlab.pdfbase.ttfonts) < 0, python3(reportlab.platypus.doctemplate) < 0, python3(reportlab.platypus.flowables) < 0, python3(reportlab.platypus.frames) < 0, python3(reportlab.platypus.paraparser) < 0, python3(reportlab.platypus.tableofcontents) < 0, python3(reportlab.platypus.tables) < 0, python3(shutil) < 0, python3(string) < 0, python3(tempfile) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(warnings) < 0, python3(xml.dom) < 0, python3(xml.dom.minidom) < 0
Adding to python-module-xhtml2pdf-demos a strict dependency on python-module-xhtml2pdf
Wrote: /usr/src/RPM/RPMS/noarch/python-module-xhtml2pdf-0.0.6-alt1.git20140628.2.noarch.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/noarch/python-module-xhtml2pdf-demos-0.0.6-alt1.git20140628.2.noarch.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/noarch/python3-module-xhtml2pdf-0.0.6-alt1.git20140628.2.noarch.rpm (w2.lzdio)
27.68user 2.46system 0:35.63elapsed 84%CPU (0avgtext+0avgdata 41524maxresident)k
0inputs+0outputs (0major+823391minor)pagefaults 0swaps
33.69user 6.69system 0:45.31elapsed 89%CPU (0avgtext+0avgdata 120248maxresident)k
0inputs+0outputs (51597major+1258095minor)pagefaults 0swaps