summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2014-10-13 16:30:38 -0500
committerDean Troyer <dtroyer@gmail.com>2014-10-14 15:45:20 -0500
commit89217a6557e16872ac1af0e305ac09886a9e1255 (patch)
tree359578b30ff96cf981bae1be8bd38c800988567f /openstackclient/shell.py
parent36212c43d880d0eaeb3df271cccb314802bf3372 (diff)
downloadpython-openstackclient-89217a6557e16872ac1af0e305ac09886a9e1255.tar.gz
Close files on server create, add tests
The files opened for the --files and --user-data options were never closed, potentially leaking memory in a long-running client. Close them if they are file objects. Add a couple of basic tests for server create. Change-Id: I1658b0caa2d6af17308149cb52196ee28266ddf2
Diffstat (limited to 'openstackclient/shell.py')
0 files changed, 0 insertions, 0 deletions