Make init handler idempotent.

This fixes the issue when module build is cancelled in init state.
This commit is contained in:
Jan Kaluza
2019-02-14 08:48:01 +01:00
parent 486d644d68
commit 7052ea0a11
5 changed files with 47 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ RUN yum -y install \
python-mock \
python-tox \
rpm-build \
python2-pyyaml \
&& yum clean all
# We currently require newer versions of these Python packages for the tests.
# more-itertools is required by pytest, but versions 6.0.0 and up aren't Python 2 compatible