diff --git a/ccserver/tql.py b/ccserver/tql.py index 0248fbf99999f555b86b338bf2f3624166c3a5fa..194cfd32ceaaea0dc049d0d6bc7e469e4377734c 100644 --- a/ccserver/tql.py +++ b/ccserver/tql.py @@ -752,7 +752,7 @@ class TqlParser(object): # Add the tag name to the list of tags to get: self._to_check.add(word[1]) - self._to_show.append(word[1]) + self._to_show.append(word[1].lstrip('-')) return TqlAstTag(word[1]) @@ -761,8 +761,8 @@ class TqlParser(object): next = self._lexer.look_ahead() # Add the tag name to the list of tags to get: - self._to_get.add(left[1]) - self._to_show.append(left[1]) + self._to_get.add(left[1].lstrip('-')) + self._to_show.append(left[1].lstrip('-')) if next[0] == self._lexer.TOK_OP: operator = self._lexer.get_token()