File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ def xml2struct(element: _Element) -> XmlRpcStructType:
129
129
130
130
def xml2array (element : _Element ) -> XmlRpcArrayType :
131
131
values = cast (List [_Element ], element .xpath ("./data/value" ))
132
- print (element , values )
133
132
return [xml2py (i ) for i in values ]
134
133
135
134
Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ def parse_xml(xml_string: bytes) -> _Element:
23
23
24
24
25
25
def build_xml (tree : _Element ) -> Union [str , bytes ]:
26
- s = b'<?xml version="1.0"?>\n ' + tostring (tree , encoding = "ASCII" )
27
- print (s )
28
- return s
26
+ return b'<?xml version="1.0"?>\n ' + tostring (tree , encoding = "ASCII" )
29
27
30
28
31
29
def parse_reqeuest (
32
30
body : bytes , headers : Mapping [str , str ]
33
31
) -> Tuple [str , List [XmlRpcTypes ]]:
34
- print (body )
35
32
if b"xml" not in headers .get (b"content-type" , b"" ):
36
33
raise ValueError ()
37
34
You can’t perform that action at this time.
0 commit comments