Merge pull request #652 from radiorabe/chore/cleanup-analyzer-abc
Cleanup airtime_analyzer/analyzer.py
This commit is contained in:
commit
71d4da185a
@ -1,13 +1,10 @@
|
||||
# TODO: use an abstract base class (ie. import from abc ...) once we have python >=3.3 that supports @staticmethod with @abstractmethod
|
||||
|
||||
|
||||
class Analyzer:
|
||||
""" Abstract base class fpr all "analyzers".
|
||||
""" Abstract base class for all "analyzers".
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def analyze(filename, metadata):
|
||||
raise NotImplementedError
|
||||
|
||||
'''
|
||||
class AnalyzerError(Error):
|
||||
def __init__(self):
|
||||
super.__init__(self)
|
||||
'''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user