diff options
author | andrew <wangchuan2008888@qq.com> | 2017-03-08 10:31:28 +0300 |
---|---|---|
committer | Joerg Steffens <joerg.steffens@bareos.com> | 2017-03-13 14:17:49 +0300 |
commit | 0df41ab79decddd3a6cb6b6eb9c0786991361e2d (patch) | |
tree | d6e0b8e90cb885048c141a6d8d85958a6f616026 | |
parent | d3a44f07cb33dbdfb2a53ad9fb18b4413794fb61 (diff) |
multidefine do_updatae_stat and do_update
I'm sure it is a misstake
-rw-r--r-- | bareos/fuse/node/pool.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bareos/fuse/node/pool.py b/bareos/fuse/node/pool.py index d7c689b..725f818 100644 --- a/bareos/fuse/node/pool.py +++ b/bareos/fuse/node/pool.py @@ -17,16 +17,6 @@ class Pool(Directory): return name def do_update_stat(self): - data = self.bsock.call("llist pools count" % (self.selector)) - self.subnode_count = int(data['pools'][0]['count']) - - def do_update(self): - data = self.bsock.call("llist pools") - pools = data['pools'] - for i in pools: - self.add_subnode(Pool, i['name']) - - def do_update_stat(self): self.subnode_count = 2 def do_update(self): |