summaryrefslogtreecommitdiffstats
path: root/tools/glusterfind/src/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glusterfind/src/conf.py')
-rw-r--r--tools/glusterfind/src/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/glusterfind/src/conf.py b/tools/glusterfind/src/conf.py
index ab766f85c0f..3849ba5dd1f 100644
--- a/tools/glusterfind/src/conf.py
+++ b/tools/glusterfind/src/conf.py
@@ -10,11 +10,11 @@
import os
try:
- from configparser import ConfigParser
+ from ConfigParser import ConfigParser
except ImportError:
- import ConfigParser
+ from configparser import ConfigParser
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
config.read(os.path.join(os.path.dirname(os.path.abspath(__file__)),
"tool.conf"))