remove object inheritence (not needed for py3k) (#418)
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ def pre_process(func):
|
||||
return inner
|
||||
|
||||
|
||||
class API(object):
|
||||
class API:
|
||||
"""API object"""
|
||||
|
||||
def __init__(self, config):
|
||||
|
||||
@@ -32,7 +32,7 @@ import logging
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseFormatter(object):
|
||||
class BaseFormatter:
|
||||
"""generic Formatter ABC"""
|
||||
|
||||
def __init__(self, formatter_def):
|
||||
|
||||
@@ -32,7 +32,7 @@ import logging
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseProcessor(object):
|
||||
class BaseProcessor:
|
||||
"""generic Processor ABC. Processes are inherited from this class"""
|
||||
|
||||
def __init__(self, processor_def, process_metadata):
|
||||
|
||||
@@ -32,7 +32,7 @@ import logging
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseProvider(object):
|
||||
class BaseProvider:
|
||||
"""generic Provider ABC"""
|
||||
|
||||
def __init__(self, provider_def):
|
||||
|
||||
@@ -55,7 +55,7 @@ from psycopg2.extras import RealDictCursor
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class DatabaseConnection(object):
|
||||
class DatabaseConnection:
|
||||
"""Database connection class to be used as 'with' statement.
|
||||
The class returns a connection object.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user