Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pantsgolem
python3-lxml
lxml-python3.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lxml-python3.diff of Package python3-lxml
--- src/lxml/html/_diffcommand.py +++ src/lxml/html/_diffcommand.py @@ -34,7 +34,7 @@ if options.annotation: return annotate(options, args) if len(args) != 2: - print 'Error: you must give two files' + print('Error: you must give two files') parser.print_help() sys.exit(1) file1, file2 = args @@ -82,5 +82,5 @@ return pre, html, post def annotate(options, args): - print "Not yet implemented" + print("Not yet implemented") sys.exit(1) --- src/lxml/html/_html5builder.py +++ src/lxml/html/_html5builder.py @@ -77,7 +77,7 @@ self.doctype.systemId)) buf.append('>') buf.append('<html></html>') - root = html.fromstring(u''.join(buf)) + root = html.fromstring(''.join(buf)) # Append the initial comments: for comment in self.initialComments:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor