mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user