From 505ad87e67b629fd359d3a2ba3ae7f110942447f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 26 Oct 2010 21:19:56 -0500 Subject: pactest: pylint changes for pactest Signed-off-by: Dan McGee --- test/pacman/pactest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index f95ef3c1..69e655a0 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -30,7 +30,7 @@ def resolveBinPath(option, opt_str, value, parser): setattr(parser.values, option.dest, os.path.abspath(value)) def globTests(option, opt_str, value, parser): - idx=0 + idx = 0 globlist = [] # maintain the idx so we can modify rargs @@ -81,8 +81,8 @@ def createOptParser(): if __name__ == "__main__": # instantiate env and parser objects env = pmenv.pmenv() - parser = createOptParser() - (opts, args) = parser.parse_args() + opt_parser = createOptParser() + (opts, args) = opt_parser.parse_args() # add parsed options to env object util.verbose = opts.verbose -- cgit v1.2.3-70-g09d2