[common] add reference to 'exception' module to Extractor class
- remove 'exception' imports - replace with 'self.exc'
This commit is contained in:
@@ -54,6 +54,7 @@ class Extractor():
|
||||
request_interval_429 = 60.0
|
||||
request_timestamp = 0.0
|
||||
finalize = skip = None
|
||||
exc = exception
|
||||
|
||||
def __init__(self, match):
|
||||
self.log = logging.getLogger(self.category)
|
||||
|
||||
Reference in New Issue
Block a user