From e4fe4f4c4fd3ed270600ef82733c98dd263e6f4a Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Wed, 16 Mar 2011 17:12:33 +0100 Subject: [PATCH] fix list -l and -r bug with empty objectlist --- cccli/command/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cccli/command/list.py b/cccli/command/list.py index f0b2964..0f33127 100644 --- a/cccli/command/list.py +++ b/cccli/command/list.py @@ -29,7 +29,7 @@ class Command_list(TqlCommand): if len(self.args) == 0: self.args.append("") objs = self.rpccall("list", str.join("", self.args), _status=False, _direct=True) - if len(objs) == 0: + if len(objs["objects"]) == 0: return if self.options.align: self.list_align(objs) -- GitLab