projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12649e3
)
RAPI: fix a pylint warning
author
Iustin Pop
<iustin@google.com>
Tue, 10 Feb 2009 13:40:59 +0000
(13:40 +0000)
committer
Iustin Pop
<iustin@google.com>
Tue, 10 Feb 2009 13:40:59 +0000
(13:40 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/rapi/rlib2.py
b/lib/rapi/rlib2.py
index
a84ce32
..
d2e4051
100644
(file)
--- 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.