summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-28 11:25:40 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-28 11:25:41 -0500
commitab3748ee1bdc3ed85fc721dbfb73cf82bdccdda9 (patch)
treed2744c3d7eab39752898223719ac57ac03d08bdf /src/lib/Bcfg2/Server/Plugins/Packages/Source.py
parent12edf6186b236006963b83ac8ffe174665e097b9 (diff)
downloadbcfg2-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/Server/Plugins/Packages/Source.py')
0 files changed, 0 insertions, 0 deletions