summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-26 21:19:56 -0500
committerDan McGee <dan@archlinux.org>2011-01-22 11:14:42 -0600
commit505ad87e67b629fd359d3a2ba3ae7f110942447f (patch)
treee0f6cf2dd0a02e3ae71e11e2e5f48c937f7b9afe
parent0de314205f9925c073566de109464b46737b0527 (diff)
downloadpacman-505ad87e67b629fd359d3a2ba3ae7f110942447f.tar.xz
pactest: pylint changes for pactest
Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xtest/pacman/pactest.py6
1 files 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