diff options
Diffstat (limited to 'tools/glusterfind/src/conf.py')
| -rw-r--r-- | tools/glusterfind/src/conf.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/glusterfind/src/conf.py b/tools/glusterfind/src/conf.py index d91746bda13..fdab38badb1 100644 --- a/tools/glusterfind/src/conf.py +++ b/tools/glusterfind/src/conf.py @@ -9,7 +9,10 @@  # cases as published by the Free Software Foundation.  import os -import ConfigParser +try: +    import configparser +except ImportError: +    import ConfigParser as configparser  config = ConfigParser.ConfigParser()  config.read(os.path.join(os.path.dirname(os.path.abspath(__file__)),  | 
