From 53d29bf3cf7a61437f1c0a07ec98a5906ac8b3d1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Thu, 11 May 2017 09:57:38 +0100 Subject: [PATCH] plugin: removing virtual referencies from meta Remove referencies to "virtual" methods (that no longer exist) from the plugin metaclass. --- wa/framework/plugin.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wa/framework/plugin.py b/wa/framework/plugin.py index bc7ab832..6e421ec4 100644 --- a/wa/framework/plugin.py +++ b/wa/framework/plugin.py @@ -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)