From: Sébastien Han Date: Mon, 28 Jun 2021 16:36:08 +0000 (+0200) Subject: src/ceph-crash.in: remove unused frame in handler() X-Git-Tag: v17.1.0~1451^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=432c766a99f70884049bf7a1f268287a5a809777;p=ceph-ci.git src/ceph-crash.in: remove unused frame in handler() frame was unused so let's remove it. Signed-off-by: Sébastien Han --- diff --git a/src/ceph-crash.in b/src/ceph-crash.in index 4858b2bb19e..f7f575b6f75 100755 --- a/src/ceph-crash.in +++ b/src/ceph-crash.in @@ -75,7 +75,7 @@ def scrape_path(path): (metapath, p, os.path.join('posted/', p)) ) -def handler(signum, frame): +def handler(signum): print('*** Interrupted with signal %d ***' % signum) sys.exit(0)