Files
python-keystoneclient/keystoneclient/middleware
Matthew Treinish 6dd8162627 Move all opens in auth_token to be in context
This commit switches the use of open() to be in a with context. This
will prevent leaking file descriptors because using a context
provides an inherent close(). Prior to this commit it was possible
that an exception or error during the write() call could prevent
close() from running.

Change-Id: Ib13fe651d41f0eafea23a1c96c6c64d405de7e49
2013-08-15 17:04:10 -04:00
..