diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-28 11:25:40 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-28 11:25:41 -0500 |
commit | ab3748ee1bdc3ed85fc721dbfb73cf82bdccdda9 (patch) | |
tree | d2744c3d7eab39752898223719ac57ac03d08bdf /src/lib/Bcfg2/Client/Tools/Encap.py | |
parent | 12edf6186b236006963b83ac8ffe174665e097b9 (diff) | |
download | bcfg2-ab3748ee1bdc3ed85fc721dbfb73cf82bdccdda9.tar.gz bcfg2-ab3748ee1bdc3ed85fc721dbfb73cf82bdccdda9.tar.bz2 bcfg2-ab3748ee1bdc3ed85fc721dbfb73cf82bdccdda9.zip |
Reporting: properly close db connection
Close the db connection at the end of each DjangoORM import, not when
the reporting collector shuts down. The collector may not have even
opened a connection, in the case of a storage backend other than
DjangoORM.
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/Encap.py')
0 files changed, 0 insertions, 0 deletions