diff options
| author | Paul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de> | 2014-05-26 15:52:50 +0200 |
|---|---|---|
| committer | Paul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de> | 2014-05-26 15:52:50 +0200 |
| commit | 1b7daadec1462bb1c6be126c2ebde4962f855507 (patch) | |
| tree | 826104a952a8f7a863beda09b06da24cb0246e3f | |
| parent | e7a6b6dd3eba65523e66e06d32ce04998dffe5dd (diff) | |
fix
| -rwxr-xr-x | src/fapi | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -174,8 +174,6 @@ class ArgumentParser(FapiBase): class Fapi(FapiBase): ''' The main F5 API Tool Object ''' - __loggedin = False - def __init__(self, args): ''' Initialize the config file, username and password ''' FapiBase.__init__(self, args) @@ -188,7 +186,6 @@ class Fapi(FapiBase): def __login(self): ''' Logs into the F5 BigIP SOAP API and changes the folder/adm. partition''' - if __loggedin: return c = self._config a = self._args if c.has_option('fapi', 'username'): @@ -220,7 +217,6 @@ class Fapi(FapiBase): pass if err: raise Exception(err) - __loggedin = True def lookup(self, what): ''' Does a DNS lookup to fetch the name (mostly FQDN) and the IPs |
