Files
python-glanceclient/glanceclient
Louis Taylor 6dda6f306f Fix error when logging http response with python 3
Python 3 changed the semantics of dict.items() [0], which now returns a
iterable 'view' instead of a list of tuples. This has the repercussion
that you can no longer check for membership of a key using:

    key in dict.items()

This patch simply replaces that check with a test for the key existing
in the dict itself, rather than the items.

[0] http://legacy.python.org/dev/peps/pep-3106/

Closes-Bug: 1359880

Change-Id: I7c59b0432725b660c9fa7270cde2e07bf3ea77db
2014-08-26 18:23:23 +00:00
..
2014-04-28 18:23:46 +02:00
2014-08-12 05:30:59 -05:00
2014-07-10 13:22:05 +05:30
2014-01-14 16:40:22 +00:00
2014-07-10 13:22:05 +05:30