summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/quota_ops.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/quota_ops.py b/glustolibs-gluster/glustolibs/gluster/quota_ops.py
index f56471f59..aacc3c7b4 100644
--- a/glustolibs-gluster/glustolibs/gluster/quota_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/quota_ops.py
@@ -224,6 +224,8 @@ def quota_fetch_list(mnode, volname, path=None):
if elem.tag == "path":
path = elem.text
quotalist[path] = {}
+ elif elem.text == 'N/A':
+ quotalist[path][elem.tag] = elem.text
elif elem.tag in ("hard_limit", "soft_limit_value",
"used_space", "avail_space"):
quotalist[path][elem.tag] = int(elem.text)