Files
python-keystoneclient/keystoneclient/base.py
Cyril Roelandt 4d05acad99 Prevent dictionary size from changing while iterating over its items
In Python 3, dict.items() returns 'a dict_item'. Iterating over it while
deleting some of the dictionary elements is forbidden. We have to iterate over
a list to avoid getting this error:

    RuntimeError: dictionary changed size during iteration

Change-Id: I43401e6eb9a31148fda4677644bf99e1b739d0dd
2014-01-06 19:16:16 +01:00

14 KiB