aboutsummaryrefslogtreecommitdiff
path: root/steuermann/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'steuermann/run.py')
-rw-r--r--steuermann/run.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/steuermann/run.py b/steuermann/run.py
index adbc40d..48386ea 100644
--- a/steuermann/run.py
+++ b/steuermann/run.py
@@ -29,9 +29,15 @@ import os.path
import traceback
import sys
import errno
-import ConfigParser
import re
-import nodes
+
+from . import nodes
+
+try:
+ import configparser as ConfigParser
+except ImportError:
+ import ConfigParser
+
def config_yes_no(d,which) :
if not which in d :