From d85b641af293d04d2ed8a530baf44e7b732519ac Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Fri, 23 Sep 2016 03:25:45 -0400
Subject: [PATCH] Attempting to fix an error that caused configparser to throw
 an exception on some systems.

---
 src/apex/cli.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/apex/cli.py b/src/apex/cli.py
index 63ab6df..61b0863 100644
--- a/src/apex/cli.py
+++ b/src/apex/cli.py
@@ -35,8 +35,11 @@ from apex.kiss import constants as kissConstants
 from apex.pluginloader import getPlugins
 from apex.pluginloader import loadPlugin
 
+configparser = None
 if sys.version_info < (3, 0):
     import ConfigParser  # noqa: F401
+    if configparser is None:
+        configparser = ConfigParser
 elif sys.version_info >= (3, 0):
     import configparser
 
-- 
GitLab