summaryrefslogtreecommitdiff
path: root/tools/utils
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2018-10-07 13:56:05 +0530
committerDastgir <dastgirp@gmail.com>2018-10-07 13:56:05 +0530
commitd9b3b016e2bfb0b70a4e292f1e73f7c2b94767aa (patch)
tree47b450e86f1fdcfa22451ce8e1c4c76b5e5cbced /tools/utils
parent852c13305f67948531bd0277eb1922dbd02b1f26 (diff)
downloadhercules-d9b3b016e2bfb0b70a4e292f1e73f7c2b94767aa.tar.gz
hercules-d9b3b016e2bfb0b70a4e292f1e73f7c2b94767aa.tar.bz2
hercules-d9b3b016e2bfb0b70a4e292f1e73f7c2b94767aa.tar.xz
hercules-d9b3b016e2bfb0b70a4e292f1e73f7c2b94767aa.zip
Removed unused variable from utils.py
Diffstat (limited to 'tools/utils')
-rw-r--r--tools/utils/common.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/utils/common.py b/tools/utils/common.py
index 7b7811654..96fd3b3c5 100644
--- a/tools/utils/common.py
+++ b/tools/utils/common.py
@@ -55,7 +55,6 @@ def LoadDB(DBname, mode, serverpath):
if os.path.isfile(serverpath + 'db/{}2.conf'.format(DBname)):
filenames.append(serverpath + 'db/{}2.conf'.format(DBname))
- consts = dict()
for filename in filenames:
with io.open(filename) as f:
config = libconf.load(f)