Skip to content

Commit 696fcd5

Browse files
committed
fix: import name
1 parent 96548ab commit 696fcd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/vsc/utils/script_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import os
3535
import sys
3636

37-
from configargparse import ConfigArgParser
37+
from configargparse import ArgParser
3838
from copy import deepcopy
3939

4040
import logging
@@ -105,12 +105,12 @@ def _merge_options(options):
105105

106106
class ConfigOption:
107107
"""
108-
Allow using ConfigArgParser instead of GeneralOption but with the same
108+
Allow using configargparse.ArgParser instead of GeneralOption but with the same
109109
options-specifying syntax
110110
"""
111111

112112
def __init__(self, options, config_files=None):
113-
self.parser = ConfigArgParser(auto_env_var_prefix='')
113+
self.parser = ArgParser(auto_env_var_prefix='')
114114

115115
if config_files:
116116
self.parser.config_file_parser(config_files)

0 commit comments

Comments
 (0)