summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/callbackplugin.py
diff options
context:
space:
mode:
authorDavid Ripton <dripton@redhat.com>2012-10-17 10:35:59 -0400
committerDavid Ripton <dripton@redhat.com>2012-10-17 10:39:02 -0400
commit7695f967a3c750642504aa60f748111f64880a07 (patch)
treea6797d2a4d129f68c03f54c0e7556643167afada /openstack/common/plugin/callbackplugin.py
parentd3ac5316d527f9a80eeecbbd2a064dada36a45a0 (diff)
downloadoslo-7695f967a3c750642504aa60f748111f64880a07.tar.gz
oslo-7695f967a3c750642504aa60f748111f64880a07.tar.xz
oslo-7695f967a3c750642504aa60f748111f64880a07.zip
Fix a couple of file handle leaks, using with statements.
In practice unclosed file handle leaks are not a huge deal in CPython code, because reference counting means they get closed automatically in a timely manner. But they're bad style, and they can become a real problem if the code is run with a version of Python that doesn't use reference counting. Change-Id: Ie54b979e26ffc9dd405871ee07c50b304cb36c67
Diffstat (limited to 'openstack/common/plugin/callbackplugin.py')
0 files changed, 0 insertions, 0 deletions