Not needed

Change-Id: Ia1878234632ef57cf5e74072d42ff8aa526583ff
This commit is contained in:
Endre Karlson 2012-11-16 11:44:57 +01:00
parent 29c4dde737
commit bb7af4e618
3 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,8 @@ from bufunfa.recorder.service import Service
eventlet.monkey_patch()
config_files = cfg.find_config_files(project="bufunfa", prog="bufunfa-recorder-sync")
config_files = cfg.find_config_files(project="bufunfa",
prog="bufunfa-recorder-sync")
if os.path.exists('./etc/bufunfa-recorder.conf'):
config_files.append('./etc/bufunfa-recorder.conf')

View File

@ -34,7 +34,7 @@ class RecordEngine(Plugin):
def get_opts(cls):
return [
cfg.IntOpt('poll_age', default=86400,
help='How far back to pull data from the source service'),
help='How far back to pull data from'),
cfg.BoolOpt('record_audit_logging', default=False,
help='Logs individual records pr get_records()')]

View File

@ -47,12 +47,10 @@ SQL_OPTS = [
class SQLAlchemyStorage(base.StorageEngine):
__plugin_name__ = 'sqlalchemy'
OPTIONS = []
@classmethod
def get_opts(cls):
opts = super(SQLAlchemyStorage, cls).get_opts()
opts.extend(cls.OPTIONS + SQL_OPTS)
opts.extend(SQL_OPTS)
return opts
def get_connection(self, conf):