Revision 876fb142 lib/cmdlib/base.py
b/lib/cmdlib/base.py | ||
---|---|---|
31 | 31 |
from ganeti.cmdlib.common import ExpandInstanceUuidAndName |
32 | 32 |
|
33 | 33 |
|
34 |
class ResultWithJobs: |
|
34 |
class ResultWithJobs(object):
|
|
35 | 35 |
"""Data container for LU results with jobs. |
36 | 36 |
|
37 | 37 |
Instances of this class returned from L{LogicalUnit.Exec} will be recognized |
... | ... | |
426 | 426 |
raise AssertionError("PreparePostHookNodes called for NoHooksLU") |
427 | 427 |
|
428 | 428 |
|
429 |
class Tasklet: |
|
429 |
class Tasklet(object):
|
|
430 | 430 |
"""Tasklet base class. |
431 | 431 |
|
432 | 432 |
Tasklets are subcomponents for LUs. LUs can consist entirely of tasklets or |
... | ... | |
472 | 472 |
raise NotImplementedError |
473 | 473 |
|
474 | 474 |
|
475 |
class QueryBase: |
|
475 |
class QueryBase(object):
|
|
476 | 476 |
"""Base for query utility classes. |
477 | 477 |
|
478 | 478 |
""" |
Also available in: Unified diff