mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
plugin: removing virtual referencies from meta
Remove referencies to "virtual" methods (that no longer exist) from the plugin metaclass.
This commit is contained in:
parent
4015e1e595
commit
53d29bf3cf
@ -252,9 +252,6 @@ class PluginMeta(type):
|
||||
The assumption is that the values of the attributes specified in the class
|
||||
are iterable; if that is not met, Bad Things (tm) will happen.
|
||||
|
||||
This also provides virtual method implementation, similar to those in
|
||||
C-derived OO languages, and alias specifications.
|
||||
|
||||
"""
|
||||
|
||||
to_propagate = [
|
||||
@ -262,9 +259,6 @@ class PluginMeta(type):
|
||||
('artifacts', Artifact, AttributeCollection),
|
||||
]
|
||||
|
||||
virtual_methods = ['validate', 'initialize', 'finalize']
|
||||
global_virtuals = ['initialize', 'finalize']
|
||||
|
||||
def __new__(mcs, clsname, bases, attrs):
|
||||
mcs._propagate_attributes(bases, attrs, clsname)
|
||||
cls = type.__new__(mcs, clsname, bases, attrs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user