Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/python-bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2017-03-13 14:18:33 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2017-03-13 14:18:33 +0300
commitb542382bfaa68a982ab36595fb320eb05daad66c (patch)
treed6e0b8e90cb885048c141a6d8d85958a6f616026
parent25fd56e1d128a2b5008f1384a7b1e8f9fe354668 (diff)
parent0df41ab79decddd3a6cb6b6eb9c0786991361e2d (diff)
Merge branch 'wangchuan2008888-master'
-rw-r--r--bareos/fuse/node/pool.py10
-rw-r--r--setup.py2
2 files changed, 1 insertions, 11 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):
diff --git a/setup.py b/setup.py
index 2f1320b..9fc2fbc 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,6 @@ setup(
install_requires=[
#'hmac',
#'socket',
- 'dateutil',
+ 'python-dateutil',
]
)