summaryrefslogtreecommitdiff
path: root/src/fapi.py
diff options
context:
space:
mode:
authorPaul C. Buetow <paul@buetow.org>2014-04-12 14:09:45 +0200
committerPaul C. Buetow <paul@buetow.org>2014-04-12 14:09:45 +0200
commit706fa79e8382bc95ef304825151ed988f85e8d6f (patch)
treea0d3dc0540c5144535fd2e97d474935d9ada6655 /src/fapi.py
parent60614b261052054fa054e2873c9ca8bb44b90c1c (diff)
less locs
Diffstat (limited to 'src/fapi.py')
-rwxr-xr-xsrc/fapi.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/fapi.py b/src/fapi.py
index 4a7b578..d39bf65 100755
--- a/src/fapi.py
+++ b/src/fapi.py
@@ -175,14 +175,9 @@ class Fapi(object):
flag = False
a = self._args
- if a.action == 'node':
- flag = self.__run_node()
-
- elif a.action == 'pool':
- flag = self.__run_pool()
-
- elif a.action == 'service':
- flag = self.__run_service()
+ if a.action == 'node': flag = self.__run_node()
+ elif a.action == 'pool': flag = self.__run_pool()
+ elif a.action == 'service': flag = self.__run_service()
if not flag:
self.info('Don\'t know what to do')