Updated openstack/openstack
Project: openstack/python-glanceclient  875fcf46ee720badff1ac0ef73824dd30eabc5e8
null
Python3: define a __next__() method for VerboseIteratorWrapper

In Python 3, __next__() has replaced next(). Also, call the next() function
rather than the next() method.

Closes-Bug: #1281866
Change-Id: I92b44508c9c875f16ad89ef8410d2c38092ab23d
Updated openstack/openstack
Project: openstack/python-glanceclient  8b76817c170e4c69136b287940e671f545ceeb87
null
Python 3: Fix JsonPatch-related issues

In Python 3, the generated JSON patches have a different representation than
those generated with Python 2. For instance, the patch generated in
test_patch_should_replace_missing_core_properties() is:

    '[{"op": "replace", "value": "red", "path": "/color"}]'

in Python 2, but:

    '[{"path": "/color", "value": "red", "op": "replace"}]'

in Python 3. Therefore, the comparison fails, and the test fail. We fix the
tests by comparing JsonPatch objects rather than strings.

Closes-Bug: #1281374
Change-Id: Id435e87664b2d2aa0ba69f2df1c1fad431651963