summaryrefslogtreecommitdiff
path: root/glanceclient/common/https.py
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-06-11 09:21:53 +1200
committerStuart McLaren <stuart.mclaren@hp.com>2015-06-11 18:11:39 +0000
commit43621dc1ac626f7ce3322cee8b7908a93af20f26 (patch)
treeefe52d9b57f79f90035462bc11c8767a831697aa /glanceclient/common/https.py
parentdb6420b44779411d6d1f238f6b887f83f1988986 (diff)
downloadpython-glanceclient-43621dc1ac626f7ce3322cee8b7908a93af20f26.tar.gz
Close iterables at the end of iteration
This fixes a bug where if iteration is interrupted, we're stuck until the iterable is garbage collected, which can be a very long time (e.g. if the iterable is held in an exception stack frame). Co-authored-by: Stuart McLaren <stuart.mclaren@hp.com> Change-Id: Ibe9990e8c337c117a978b1cd8ec388c4bc6d3b4b Closes-bug: 1461678
Diffstat (limited to 'glanceclient/common/https.py')
0 files changed, 0 insertions, 0 deletions