Revision 20777413 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
103 | 103 |
from this class should override OP_ID. |
104 | 104 |
|
105 | 105 |
@cvar OP_ID: The ID of this opcode. This should be unique amongst all |
106 |
childre of this class. |
|
106 |
children of this class. |
|
107 |
@ivar dry_run: Whether the LU should be run in dry-run mode, i.e. just |
|
108 |
the check steps |
|
107 | 109 |
|
108 | 110 |
""" |
109 | 111 |
OP_ID = "OP_ABSTRACT" |
110 |
__slots__ = BaseOpCode.__slots__ + [] |
|
112 |
__slots__ = BaseOpCode.__slots__ + ["dry_run"]
|
|
111 | 113 |
|
112 | 114 |
def __getstate__(self): |
113 | 115 |
"""Specialized getstate for opcodes. |
Also available in: Unified diff