Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joshua
erp5
Commits
9a0c25c2
Commit
9a0c25c2
authored
13 years ago
by
Łukasz Nowak
Browse files
Options
Download
Email Patches
Plain Diff
Cast to string in order to avoid utf issues.
parent
3297cd09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
...5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
+1
-1
bt5/erp5_tiosafe_oxatis_test/bt/revision
bt5/erp5_tiosafe_oxatis_test/bt/revision
+1
-1
No files found.
bt5/erp5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
View file @
9a0c25c2
...
...
@@ -200,7 +200,7 @@ class OxatisTestConnector:
xml_element
=
etree
.
XML
(
xml
)
validated
=
xml_schema
.
validate
(
xml_element
)
if
validated
is
False
:
LOG
(
"validateXMLSchema failed with"
,
ERROR
,
"%s, xsd = %s
\n
xml = %s
\n
"
%
(
xml_schema
.
error_log
.
filter_from_errors
()[
0
],
xsd
.
data
,
xml
))
LOG
(
"validateXMLSchema failed with"
,
ERROR
,
"%s, xsd = %s
\n
xml = %s
\n
"
%
(
str
(
xml_schema
.
error_log
.
filter_from_errors
()[
0
]
)
,
xsd
.
data
,
xml
))
assert
validated
is
True
return
validated
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_tiosafe_oxatis_test/bt/revision
View file @
9a0c25c2
69
\ No newline at end of file
70
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment