Removed unnecessary Meta.py executor
This commit is contained in:
parent
e4abb8b7a7
commit
94ce6e42bb
2 changed files with 0 additions and 17 deletions
|
@ -1,4 +1,3 @@
|
||||||
from .executor import Executor
|
from .executor import Executor
|
||||||
from .linker import Linker
|
from .linker import Linker
|
||||||
from .commandrunner import CommandRunner
|
from .commandrunner import CommandRunner
|
||||||
from .meta import Meta
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
from . import Executor
|
|
||||||
|
|
||||||
class Meta(Executor):
|
|
||||||
'''
|
|
||||||
Dummy handler for metadata support
|
|
||||||
'''
|
|
||||||
|
|
||||||
_directive = 'meta'
|
|
||||||
|
|
||||||
def can_handle(self, directive):
|
|
||||||
return directive == self._directive
|
|
||||||
|
|
||||||
def handle(self, directive, data):
|
|
||||||
if directive != self._directive:
|
|
||||||
raise ValueError('Header cannot handle directive %s' % directive)
|
|
||||||
return True
|
|
Loading…
Reference in a new issue