Revision 77b657a3 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
69 | 69 |
REQ_WSSTORE = False |
70 | 70 |
REQ_BGL = True |
71 | 71 |
|
72 |
def __init__(self, processor, op, cfg, sstore):
|
|
72 |
def __init__(self, processor, op, context, sstore):
|
|
73 | 73 |
"""Constructor for LogicalUnit. |
74 | 74 |
|
75 | 75 |
This needs to be overriden in derived classes in order to check op |
... | ... | |
78 | 78 |
""" |
79 | 79 |
self.proc = processor |
80 | 80 |
self.op = op |
81 |
self.cfg = cfg |
|
81 |
self.cfg = context.cfg
|
|
82 | 82 |
self.sstore = sstore |
83 |
self.context = context |
|
83 | 84 |
self.__ssh = None |
84 | 85 |
|
85 | 86 |
for attr_name in self._OP_REQP: |
Also available in: Unified diff