Files
python-tripleoclient/tripleoclient/workflows/base.py
Dougal Matthews 9f3cbf7706 Replace 'raise StopIteration' with 'return'
With PEP 479, the behaviour of StopIteration is changing. Raising it to
stop a generator is considered incorrect and from Python 3.7 this will
cause a RuntimeError. The PEP recommends using the return statement.

More details: https://www.python.org/dev/peps/pep-0479/#examples-of-breakage

Change-Id: I7b35bc0525b599950a7fa0e58caeffcedb6bd18b
2018-06-29 11:23:07 +01:00

3.6 KiB