git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Slices w/ initscripts were starting repeatedly because the flag that signals the...
[nodemanager.git]
/
accounts.py
diff --git
a/accounts.py
b/accounts.py
index
3413e9c
..
efac0ad
100644
(file)
--- a/
accounts.py
+++ b/
accounts.py
@@
-146,8
+146,11
@@
class Worker:
def _stop(self): self._acct.stop()
def is_running(self):
def _stop(self): self._acct.stop()
def is_running(self):
- status = self._acct.is_running()
- if not status: logger.verbose("Worker(%s): is not running" % self.name)
+ if self._acct.is_running():
+ status = True
+ else:
+ status = False
+ logger.verbose("Worker(%s): is not running" % self.name)
return status
def _destroy(self, curr_class):
return status
def _destroy(self, curr_class):