
Catch the raise of StopIteration with return. PEP 0479, https://www.python.org/dev/peps/pep-0479/, makes the following change: "when StopIteration is raised inside a generator, it is replaced it with RuntimeError". And states: "If raise StopIteration occurs directly in a generator, simply replace it with return." Closes-Bug: #1785309 Change-Id: Ib751b680b7357782cb5359526e1e83ee8c5c80dd
Team and repository tags
Python bindings to the OpenStack Container API
This is a client library for Zun built on the Zun API. It provides a Python API (the zunclient module) and a command-line tool (zun).
- License: Apache License, Version 2.0
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- How to Contribute
Description
Languages
Python
99.1%
Shell
0.9%