]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
cephadmunit: Python3 fix: signal.SIGHUP is no longer an int. 1462/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 29 Apr 2020 11:47:24 +0000 (13:47 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 29 Apr 2020 11:48:09 +0000 (13:48 +0200)
commitbc101d562b0ef3aa7ff6a0362b4c550a27c89e79
treed353818a3536607d6737a9cd4f8a8e330762297f
parent6cf405938efbe617c2316e93efd87b7984500174
cephadmunit: Python3 fix: signal.SIGHUP is no longer an int.

py2: `str(signal.SIGHUP) == "1"`
py3: `str(signal.SIGHUP) == "signal.SIGHUP"`

Fixes: https://tracker.ceph.com/issues/45297
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
teuthology/orchestra/daemon/cephadmunit.py