https://bugzilla.redhat.com/show_bug.cgi?id=1058403
Bug ID: 1058403
Summary: javapackages-tools: regression in %pom_remove_dep
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: mizdebsk(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Download
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/snapshot/jet...
and take the main pom.xml
run %pom_xpath_remove "pom:modules/node()"
+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove
'pom:modules/node()'
Traceback (most recent call last):
File "/usr/share/java-utils/pom_editor.py", line 356, in <module>
macros[sys.argv[1]](*sys.argv[2:])
File "/usr/share/java-utils/pom_editor.py", line 98, in decorated
function(*fnargs)
File "/usr/share/java-utils/pom_editor.py", line 258, in pom_xpath_remove
pom.replace_xml(element, "<!-- element removed by maintainer -->")
File "/usr/share/java-utils/pom_editor.py", line 145, in replace_xml
idx = parent.index(replaced)
TypeError : Argument 'child' has incorrect type (expected lxml.etree._Element,
got _ElementStringResult)
The same call works with pom_editor.sh.
Version:
javapackages-tools-3.6.0-0.2.gitd370124.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=IRBWUSxJDc&a=cc_unsubscribe