mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01: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:
@@ -252,9 +252,6 @@ class PluginMeta(type):
|
|||||||
The assumption is that the values of the attributes specified in the class
|
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.
|
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 = [
|
to_propagate = [
|
||||||
@@ -262,9 +259,6 @@ class PluginMeta(type):
|
|||||||
('artifacts', Artifact, AttributeCollection),
|
('artifacts', Artifact, AttributeCollection),
|
||||||
]
|
]
|
||||||
|
|
||||||
virtual_methods = ['validate', 'initialize', 'finalize']
|
|
||||||
global_virtuals = ['initialize', 'finalize']
|
|
||||||
|
|
||||||
def __new__(mcs, clsname, bases, attrs):
|
def __new__(mcs, clsname, bases, attrs):
|
||||||
mcs._propagate_attributes(bases, attrs, clsname)
|
mcs._propagate_attributes(bases, attrs, clsname)
|
||||||
cls = type.__new__(mcs, clsname, bases, attrs)
|
cls = type.__new__(mcs, clsname, bases, attrs)
|
||||||
|
Reference in New Issue
Block a user