summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/patman/settings.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/patman/settings.py b/tools/patman/settings.py
index 01f6c38c19..3caf379358 100644
--- a/tools/patman/settings.py
+++ b/tools/patman/settings.py
@@ -5,7 +5,11 @@
from __future__ import print_function
-import ConfigParser
+try:
+ import configparser as ConfigParser
+except:
+ import ConfigParser
+
import os
import re