]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast-db-manage/cdr/env.py: Don't fail if a config file can't be loaded
authorMatthew Jordan <mjordan@digium.com>
Wed, 28 May 2014 17:43:36 +0000 (17:43 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 28 May 2014 17:43:36 +0000 (17:43 +0000)
commit7be30fb57a54a3615629c82de212ad299358b4a1
treee9b6914fc3ebcbaef7d95439811f3a0b4ac13968
parent8e5cb1b250843c817cfd1da6fb7f5325a0b8459b
ast-db-manage/cdr/env.py: Don't fail if a config file can't be loaded

When generating SQL files via the repotools alembic_creator.py script, a
configuration object is used programatically with SQLAlechemy, as opposed to
a configuration file. This patch ignores failures to interpret a config file,
as ... there isn't one in this case.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@414763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
contrib/ast-db-manage/cdr/env.py