test.py: Improve output
Remove the output of the namespace from verify_no_conflicting profiling. Change-Id: I1d1eb4e3fd9cde11cd36522c2d968dffa9505eb8
This commit is contained in:
parent
6702ab7d97
commit
1d0bbac5e8
3
test.py
3
test.py
|
@ -107,9 +107,10 @@ def verify_no_conflicting_profiling(doc):
|
|||
c_os_list = child.attrib['os'].split(';')
|
||||
for os in c_os_list:
|
||||
if os not in p_os_list:
|
||||
len_ns = len("{http://docbook.org/ns/docbook}")
|
||||
raise ValueError(
|
||||
"%s os profiling (%s) conflicts with os profiling of %s on line %d." %
|
||||
(p_tag, p_os_list, c_tag, c_line))
|
||||
(p_tag[len_ns:], p_os_list, c_tag[len_ns:], c_line))
|
||||
|
||||
|
||||
def verify_nice_usage_of_whitespaces(docfile):
|
||||
|
|
Loading…
Reference in New Issue