mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 00:51:13 +02:00
2021-11-05 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'untangle' Python module dependency from the 'rivwebpyapi' API. * Added a 'xmltodict' Python module dependency to the 'rivwebpyapi' API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#
|
||||
|
||||
import requests
|
||||
import untangle
|
||||
import xmltodict
|
||||
|
||||
class RivWebPyApi(object):
|
||||
"""
|
||||
@@ -66,4 +66,4 @@ class RivWebPyApi(object):
|
||||
r=requests.post(self.__connection_url,data=postdata)
|
||||
if(r.status_code!=requests.codes.ok):
|
||||
r.raise_for_status()
|
||||
return untangle.parse(r.text)
|
||||
return xmltodict.parse(r.text)
|
||||
|
Reference in New Issue
Block a user