Loading cccli/commands/list.py +8 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,14 @@ class Command_list(TqlCommand): self.parse_args(argv) if len(self.args) == 0: self.args.append("") objs = self.rpccall("list", str.join("", self.args), _status=False, _direct=True) # smart merge argument to have a tql tql = "" for arg in self.args: if arg[0] in ("&", "|", "$", "^", "%"): tql += arg else: tql += "&%s" % arg objs = self.rpccall("list", tql, _status=False, _direct=True) if len(objs["objects"]) == 0: return if self.options.align: Loading Loading
cccli/commands/list.py +8 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,14 @@ class Command_list(TqlCommand): self.parse_args(argv) if len(self.args) == 0: self.args.append("") objs = self.rpccall("list", str.join("", self.args), _status=False, _direct=True) # smart merge argument to have a tql tql = "" for arg in self.args: if arg[0] in ("&", "|", "$", "^", "%"): tql += arg else: tql += "&%s" % arg objs = self.rpccall("list", tql, _status=False, _direct=True) if len(objs["objects"]) == 0: return if self.options.align: Loading