summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-05-26 15:52:50 +0200
committerPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-05-26 15:52:50 +0200
commit1b7daadec1462bb1c6be126c2ebde4962f855507 (patch)
tree826104a952a8f7a863beda09b06da24cb0246e3f
parente7a6b6dd3eba65523e66e06d32ce04998dffe5dd (diff)
fix
-rwxr-xr-xsrc/fapi4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fapi b/src/fapi
index c3bea93..4854d81 100755
--- a/src/fapi
+++ b/src/fapi
@@ -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