Loading cccli/command/tag.py +1 −8 Original line number Diff line number Diff line Loading @@ -33,14 +33,7 @@ class Command_tags(TqlCommand): # ask server objs = self.rpccall("tags", tql, _direct=True, _status=False) # display answer for o in objs: tid = self.tdr("id", o.pop("id")) tags = " ".join([ "%s%s:%s%s"%(self.tdtc(t), t, self.tdc(t), self.tdr(t, v)) for (t,v) in o.items() ]) self.printer.out("%sid=%s%s %s%s"%(self.tdtc("id"), self.tdc("id"), tid, tags, color["reset"])) self.print_objects(objs) class Command_addtag(TqlCommand): Loading Loading
cccli/command/tag.py +1 −8 Original line number Diff line number Diff line Loading @@ -33,14 +33,7 @@ class Command_tags(TqlCommand): # ask server objs = self.rpccall("tags", tql, _direct=True, _status=False) # display answer for o in objs: tid = self.tdr("id", o.pop("id")) tags = " ".join([ "%s%s:%s%s"%(self.tdtc(t), t, self.tdc(t), self.tdr(t, v)) for (t,v) in o.items() ]) self.printer.out("%sid=%s%s %s%s"%(self.tdtc("id"), self.tdc("id"), tid, tags, color["reset"])) self.print_objects(objs) class Command_addtag(TqlCommand): Loading