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:44:49 +0000 (17:44 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 28 May 2014 17:44:49 +0000 (17:44 +0000)
commit4bf21353de82a38732d3269928968478cb376ef4
treeef4903068b33231539188fb375853eaf941864bf
parent69125a7ae2516902c682ba9a91c5dfa1d189ad29
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.
........

Merged revisions 414763 from http://svn.asterisk.org/svn/asterisk/branches/12

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