index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 18:06:12 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 18:06:12 +0000 |
commit | 2caadb33bf60167401f7dd316e704bc42e32a1a9 (patch) | |
tree | d7c349246b591073b91a5b6635503cfafda3bd52 /pactest/pactest.py | |
parent | 714a414e72591f3273583cb4970e1515c94e5887 (diff) |
-rwxr-xr-x | pactest/pactest.py | 3 |
diff --git a/pactest/pactest.py b/pactest/pactest.py index 77ce0af3..d2a09196 100755 --- a/pactest/pactest.py +++ b/pactest/pactest.py @@ -36,7 +36,8 @@ def globTests(option, opt_str, value, parser): globlist = [] # maintain the idx so we can modify rargs - while not parser.rargs[idx].startswith('-'): + while idx < len(parser.rargs) and \ + not parser.rargs[idx].startswith('-'): globlist += glob.glob(parser.rargs[idx]) idx += 1 |