From 1b7daadec1462bb1c6be126c2ebde4962f855507 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (lxpbuetow.webde.local)" Date: Mon, 26 May 2014 15:52:50 +0200 Subject: fix --- src/fapi | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3