pactest: pylint changes for pactest
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
0de314205f
commit
505ad87e67
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ def resolveBinPath(option, opt_str, value, parser):
|
||||||
setattr(parser.values, option.dest, os.path.abspath(value))
|
setattr(parser.values, option.dest, os.path.abspath(value))
|
||||||
|
|
||||||
def globTests(option, opt_str, value, parser):
|
def globTests(option, opt_str, value, parser):
|
||||||
idx=0
|
idx = 0
|
||||||
globlist = []
|
globlist = []
|
||||||
|
|
||||||
# maintain the idx so we can modify rargs
|
# maintain the idx so we can modify rargs
|
||||||
|
@ -81,8 +81,8 @@ def createOptParser():
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# instantiate env and parser objects
|
# instantiate env and parser objects
|
||||||
env = pmenv.pmenv()
|
env = pmenv.pmenv()
|
||||||
parser = createOptParser()
|
opt_parser = createOptParser()
|
||||||
(opts, args) = parser.parse_args()
|
(opts, args) = opt_parser.parse_args()
|
||||||
|
|
||||||
# add parsed options to env object
|
# add parsed options to env object
|
||||||
util.verbose = opts.verbose
|
util.verbose = opts.verbose
|
||||||
|
|
Loading…
Add table
Reference in a new issue