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 5
5
#
6
6
# SPDX-License-Identifier: GPL-2.0-or-later
7
7
8
+ import configparser
8
9
import os
9
10
import sys
10
11
@@ -38,7 +39,7 @@ def main(argv=sys.argv[1:]):
38
39
action = args .subcmd
39
40
40
41
# grab settings from config files
41
- config = utils . configparser .ConfigParser ()
42
+ config = configparser .ConfigParser ()
42
43
config .read ([CONFIG_FILE ])
43
44
44
45
if not config .has_section ('options' ) and os .path .exists (CONFIG_FILE ):
@@ -51,8 +52,8 @@ def main(argv=sys.argv[1:]):
51
52
try :
52
53
project_str = config .get ('options' , 'default' )
53
54
except (
54
- utils . configparser .NoSectionError ,
55
- utils . configparser .NoOptionError ,
55
+ configparser .NoSectionError ,
56
+ configparser .NoOptionError ,
56
57
):
57
58
sys .stderr .write (
58
59
'No default project configured in %s\n ' % CONFIG_FILE
You can’t perform that action at this time.
0 commit comments