From c9ece47c49bb47a94603824ec709ba44a15ff07a Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Wed, 30 Sep 2009 00:15:21 +0200 Subject: Revert "oops, the length should be two not one" This reverts commit 7bacd4e7b2f521be3d2bf6494547c60ddf2426b3. actually, it should be one. --- patchtracker/ReqHandler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'patchtracker/ReqHandler.py') diff --git a/patchtracker/ReqHandler.py b/patchtracker/ReqHandler.py index aedd049..c928bb6 100755 --- a/patchtracker/ReqHandler.py +++ b/patchtracker/ReqHandler.py @@ -171,8 +171,7 @@ class CmdHandler: cacheable = True elif cmdarg == "package": self.cmd = PackageCmd(args[1:]) - # if it's in the form /package// it's cacheable - if len(args[1:]) > 2: + if len(args[1:]) > 1: cacheable = True elif cmdarg == "index": self.cmd = IndexCmd(args[1:]) -- cgit v1.2.3