Merge pull request #652 from radiorabe/chore/cleanup-analyzer-abc

Cleanup airtime_analyzer/analyzer.py
This commit is contained in:
Robb 2018-12-23 11:42:15 -05:00 committed by GitHub
commit 71d4da185a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
'''