Revision 2d54e29c lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
261 | 261 |
""" |
262 | 262 |
raise NotImplementedError |
263 | 263 |
|
264 |
# this is valid in this entire class even if added here |
|
265 |
# pylint: disable-msg=R0201 |
|
266 | 264 |
def HooksCallBack(self, phase, hook_results, feedback_fn, lu_result): |
267 | 265 |
"""Notify the LU about the results of its hooks. |
268 | 266 |
|
... | ... | |
282 | 280 |
and hook results |
283 | 281 |
|
284 | 282 |
""" |
283 |
# API must be kept, thus we ignore the unused argument and could |
|
284 |
# be a function warnings |
|
285 |
# pylint: disable-msg=W0613,R0201 |
|
285 | 286 |
return lu_result |
286 | 287 |
|
287 | 288 |
def _ExpandAndLockInstance(self): |
Also available in: Unified diff