Skip to content

Commit

Permalink
Merge branch 'wangchuan2008888-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Mar 13, 2017
2 parents 25fd56e + 0df41ab commit b542382
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions bareos/fuse/node/pool.py
Expand Up @@ -16,16 +16,6 @@ def __init__(self, root, name, pool):
def get_id(cls, name, pool):
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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,6 +17,6 @@
install_requires=[
#'hmac',
#'socket',
'dateutil',
'python-dateutil',
]
)

0 comments on commit b542382

Please sign in to comment.