From b0ce317c07b8ddba261f95af563c303f7a865fe1 Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Mon, 14 Feb 2011 20:39:50 +0100 Subject: [PATCH] command list use rpccall function --- cccli/command/list.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cccli/command/list.py b/cccli/command/list.py index c99eb00..ba35dae 100644 --- a/cccli/command/list.py +++ b/cccli/command/list.py @@ -26,10 +26,7 @@ class Command_list(TqlCommand): self.parse_args(argv) if len(self.args) == 0: self.args.append("") - try: - objs = self.cli.rpc.call("list", str.join("", self.args)) - except RpcError as e: - raise cmdError("RPCError: %s"%str(e)) + objs = self.rpccall("list", str.join("", self.args), _status=False) if len(objs) == 0: return if self.options.align: -- GitLab