From dbbca16c69750c8d2db5481942bfa8a65201830f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 12 Jul 2012 15:24:40 +0200 Subject: [PATCH] Minor renaming --- lib/core/common.py | 8 ++++---- lib/core/option.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 867316184..29c36b1a9 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -307,15 +307,15 @@ class Backend: @staticmethod def forceDbms(dbms, sticky=False): - if not kb.stickyFlag: + if not kb.stickyDBMS: kb.forcedDbms = aliasToDbmsEnum(dbms) - kb.stickyFlag = sticky + kb.stickyDBMS = sticky @staticmethod def flushForcedDbms(force=False): - if not kb.stickyFlag or force: + if not kb.stickyDBMS or force: kb.forcedDbms = None - kb.stickyFlag = False + kb.stickyDBMS = False @staticmethod def setOs(os): diff --git a/lib/core/option.py b/lib/core/option.py index b050ea76d..d23605052 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1509,7 +1509,7 @@ def __setKnowledgeBaseAttributes(flushAll=True): kb.safeCharEncode = False kb.singleLogFlags = set() kb.skipOthersDbms = None - kb.stickyFlag = False + kb.stickyDBMS = False kb.stickyLevel = None kb.suppressResumeInfo = False kb.technique = None