adding some mount handling. primarily focused on listing for now.

This commit is contained in:
2020-03-31 06:47:44 -04:00
parent 731e0b4ce8
commit dc187c92c7
2 changed files with 98 additions and 9 deletions

View File

@@ -41,8 +41,9 @@ class PassMan(object):
return(None)
def _getMount(self):
# TODO: mounts xml?
self.mount = mounts.MountHandler(self.client)
mounts_xml = self.xml.find('.//mounts')
self.mount = mounts.MountHandler(self.client, mounts_xml = mounts_xml)
return(None)
def _getURI(self):
uri = self.cfg.xml.find('.//uri')