diff options
author | Sean Finney <seanius@debian.org> | 2009-09-30 00:12:22 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-09-30 00:12:22 +0200 |
commit | 7bacd4e7b2f521be3d2bf6494547c60ddf2426b3 (patch) | |
tree | 08c4da23faa624f674cd88b376ea15adce2931fc | |
parent | bbc670b53d7c2212cb8fb96e6b56894ac5a70030 (diff) | |
download | patch-tracker-7bacd4e7b2f521be3d2bf6494547c60ddf2426b3.tar.gz |
oops, the length should be two not one
-rwxr-xr-x | patchtracker/ReqHandler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patchtracker/ReqHandler.py b/patchtracker/ReqHandler.py index c928bb6..aedd049 100755 --- a/patchtracker/ReqHandler.py +++ b/patchtracker/ReqHandler.py @@ -171,7 +171,8 @@ class CmdHandler: cacheable = True elif cmdarg == "package": self.cmd = PackageCmd(args[1:]) - if len(args[1:]) > 1: + # if it's in the form /package/<pkg>/<vers> it's cacheable + if len(args[1:]) > 2: cacheable = True elif cmdarg == "index": self.cmd = IndexCmd(args[1:]) |