From 9ff9c951bc4cae3826bb8204f1829897c1fb65a8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 13 Jul 2012 14:33:16 +0200 Subject: [PATCH] Language update --- lib/takeover/abstraction.py | 6 +++--- lib/takeover/udf.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/takeover/abstraction.py b/lib/takeover/abstraction.py index 78daf13ee..cabef6928 100644 --- a/lib/takeover/abstraction.py +++ b/lib/takeover/abstraction.py @@ -183,11 +183,11 @@ class Abstraction(Web, UDF, xp_cmdshell): self.checkDbmsOs(detailed) if mandatory and not self.isDba(): - warnMsg = "the functionality requested might not work because " - warnMsg += "the session user is not a database administrator" + warnMsg = "functionality requested probably does not work because " + warnMsg += "the curent session user is not a database administrator" if not conf.dCred and Backend.getIdentifiedDbms() in ( DBMS.MSSQL, DBMS.PGSQL ): - warnMsg += ". You can try to provide --dbms-cred switch " + warnMsg += ". You can try to to use option '--dbms-cred' " warnMsg += "to execute statements as a DBA user if you " warnMsg += "were able to extract and crack a DBA " warnMsg += "password by any mean" diff --git a/lib/takeover/udf.py b/lib/takeover/udf.py index f43c4677a..ad29b0883 100644 --- a/lib/takeover/udf.py +++ b/lib/takeover/udf.py @@ -180,8 +180,8 @@ class UDF: self.checkDbmsOs() if not self.isDba(): - warnMsg = "the functionality requested might not work because " - warnMsg += "the session user is not a database administrator" + warnMsg = "functionality requested probably does not work because " + warnMsg += "the curent session user is not a database administrator" logger.warn(warnMsg) if not conf.shLib: