From 5549e95c04e2a74cfb4c8a88cdaa408dcc0c2ce3 Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Mon, 14 Feb 2011 11:40:26 +0100 Subject: [PATCH] fix tags bad using of OptionCommand --- cccli/command/tag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cccli/command/tag.py b/cccli/command/tag.py index 8558b07..e38ef9b 100644 --- a/cccli/command/tag.py +++ b/cccli/command/tag.py @@ -34,10 +34,10 @@ class Command_tags(OptionCommand): self.td = lambda tagname, tagvalue: unicode(tagvalue) self.tc = lambda tagname: color["reset"] # append current login if nothing asked - if len(args) == 0: + if len(self.args) == 0: tql = "a=%s"%self.cli.settings["login"] else: - tql = "".join(args) + tql = "".join(self.args) # update tql if mode if not self.options.raw: tql += "&a" -- GitLab