if needed, allow to reinitialize the environment for takeover - issue #396

This commit is contained in:
Bernardo Damele 2013-02-14 17:39:19 +00:00
parent d91530f885
commit 66cee83ca4

View File

@ -171,10 +171,10 @@ class Abstraction(Web, UDF, Xp_cmdshell):
# expression = getSQLSnippet(DBMS.PGSQL, "configure_dblink", ENABLE="1")
# inject.goStacked(expression)
def initEnv(self, mandatory=True, detailed=False, web=False):
def initEnv(self, mandatory=True, detailed=False, web=False, forceInit=False):
self._initRunAs()
if self.envInitialized:
if self.envInitialized and not forceInit:
return
if web: