diff options
| author | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-28 22:29:16 +0200 |
|---|---|---|
| committer | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-28 22:29:16 +0200 |
| commit | 411c5f6cef8886eb59636eea878b486a89f69055 (patch) | |
| tree | 0abcee3358fdb27a6d783456f697aaf78be1cd57 /src | |
| parent | 2bd0e7af6c97040140d38c42066f8146091f0d02 (diff) | |
some restyle
Diffstat (limited to 'src')
| -rwxr-xr-x | src/fapi | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -41,8 +41,7 @@ class FapiBase(object): ''' Prints an informational message to stderr ''' if self._args.n: - reset = '' - color = '' + color = reset = '' else: reset = '' if color == '' else Style.RESET_ALL @@ -59,6 +58,7 @@ class FapiBase(object): pp = pprint.PrettyPrinter(indent=4) pp.pprint(result) + def print_version(self): ''' Prints out the version ''' @@ -188,6 +188,7 @@ class ArgumentParser(FapiBase): return args + class Fapi(FapiBase): ''' The main F5 API Tool Object ''' @@ -289,6 +290,7 @@ class Fapi(FapiBase): self.verbose("Looked \'%s\' up to name:\'%s\', ip:\'%s\', port:\'%s\'" % (what, name, ip, port)) return (name, ip, port) + def __do_node(self, f5): ''' Do stuff concerning nodes ''' |
