Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 549580 Details for
Bug 667590
dev-java/javatoolkit-0.6.0 fails with Python3.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check if the xml file is empty
javatoolkit.patch (text/plain), 555 bytes, created by
Helmut Jarausch
on 2018-10-07 09:18:07 UTC
(
hide
)
Description:
check if the xml file is empty
Filename:
MIME Type:
Creator:
Helmut Jarausch
Created:
2018-10-07 09:18:07 UTC
Size:
555 bytes
patch
obsolete
>--- src/py/build-xml-rewrite.ORIG 2018-10-01 15:26:49.000000000 +0200 >+++ src/py/build-xml-rewrite 2018-10-07 11:08:55.236803374 +0200 >@@ -1,6 +1,6 @@ > #!/usr/bin/python3.7 > >-import sys >+import sys, os > import xml.etree.cElementTree as et > from optparse import OptionParser > >@@ -32,6 +32,7 @@ > gcp_sub = et.Element('classpath', path=gcp_str) > > for file in args: >+ if os.path.getsize(file) == 0 : continue > tree = et.ElementTree(file=file) > if gcp or options.encoding: > for javac in tree.getiterator('javac'):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 667590
: 549580 |
555818