diff options
Diffstat (limited to 'processors/generic_processor.py')
-rw-r--r-- | processors/generic_processor.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/processors/generic_processor.py b/processors/generic_processor.py index 9de1def..52610a3 100644 --- a/processors/generic_processor.py +++ b/processors/generic_processor.py @@ -546,4 +546,6 @@ class GenericProcessor(processor.ImportProcessor): def feature_handler(self, cmd): """Process a FeatureCommand.""" - self.warning("assuming feature %s is supported" % cmd.feature_name) + feature = cmd.feature_name + if feature not in commands.FEATURE_NAMES: + raise plugin_errors.UnknownFeature(feature) |