Commit 2ce7b21e authored by Paul Burton's avatar Paul Burton Committed by sjg

patman: Import 'configparser' lower case to be python 3.x safe

In python 3.x module names used in import statements are case sensitive,
and the configparser module is named in all lower-case. Import it as such
in order to avoid errors when running with python 3.x.
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent ac3fde93
......@@ -5,7 +5,11 @@
from __future__ import print_function
import ConfigParser
try:
import configparser as ConfigParser
except:
import ConfigParser
import os
import re
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment