MAINT: Remove unused Passthrough transform.

Passthrough transform had been removed previously, removing remaining
references to the class.
This commit is contained in:
Eddie Hebert
2013-04-29 14:58:29 -04:00
parent 9ffaec64d8
commit 2522a6fc4c
-16
View File
@@ -70,18 +70,6 @@ def check_window_length(window_length):
raise InvalidWindowLength("window_length must be positive")
class Passthrough(object):
PASSTHROUGH = True
"""
Trivial class for forwarding events.
"""
def __init__(self):
pass
def update(self, event):
pass
class TransformMeta(type):
"""
Metaclass that automatically packages a class inside of
@@ -112,10 +100,6 @@ class StatefulTransform(object):
assert hasattr(tnfm_class, 'update'), \
"Stateful transform requires the class to have an update method"
# Flag set inside the Passthrough transform class to signify special
# behavior if we are being fed to merged_transforms.
self.passthrough = hasattr(tnfm_class, 'PASSTHROUGH')
# Create an instance of our transform class.
if isinstance(tnfm_class, TransformMeta):
# Classes derived TransformMeta have their __call__