File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 55#
66# SPDX-License-Identifier: GPL-2.0-or-later
77
8+ import configparser
89import os
910import sys
1011
@@ -38,7 +39,7 @@ def main(argv=sys.argv[1:]):
3839 action = args .subcmd
3940
4041 # grab settings from config files
41- config = utils . configparser .ConfigParser ()
42+ config = configparser .ConfigParser ()
4243 config .read ([CONFIG_FILE ])
4344
4445 if not config .has_section ('options' ) and os .path .exists (CONFIG_FILE ):
@@ -51,8 +52,8 @@ def main(argv=sys.argv[1:]):
5152 try :
5253 project_str = config .get ('options' , 'default' )
5354 except (
54- utils . configparser .NoSectionError ,
55- utils . configparser .NoOptionError ,
55+ configparser .NoSectionError ,
56+ configparser .NoOptionError ,
5657 ):
5758 sys .stderr .write (
5859 'No default project configured in %s\n ' % CONFIG_FILE
You can’t perform that action at this time.
0 commit comments