From bbc670b53d7c2212cb8fb96e6b56894ac5a70030 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Wed, 30 Sep 2009 00:01:05 +0200 Subject: when no version is specified, do not cache PackageCmd --- patchtracker/ReqHandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patchtracker/ReqHandler.py b/patchtracker/ReqHandler.py index 59e0f53..c928bb6 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:]) - cacheable = True + if len(args[1:]) > 1: + cacheable = True elif cmdarg == "index": self.cmd = IndexCmd(args[1:]) elif cmdarg == "jump": -- cgit v1.2.3