From 7a6b9510fe5f981ee3979ece8d91284b68c1a728 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 10 Feb 2009 13:40:59 +0000 Subject: [PATCH] RAPI: fix a pylint warning Child classes of _R_TAGS must define TAG_LEVEL, but for good style let's define it also here to at least ensure we don't get a 'Unknown attribute' exception. Of course, this also silences a pylint warning. Reviewed-by: amishchenko --- lib/rapi/rlib2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py index a84ce3257..d2e40514f 100644 --- a/lib/rapi/rlib2.py +++ b/lib/rapi/rlib2.py @@ -459,6 +459,7 @@ class _R_Tags(baserlib.R_Generic): TAG_LEVEL for it. """ + TAG_LEVEL = None def __init__(self, items, queryargs, req): """A tag resource constructor. -- GitLab