]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/ceph-crash.in: remove unused frame in handler()
authorSébastien Han <seb@redhat.com>
Mon, 28 Jun 2021 16:36:08 +0000 (18:36 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 5 Jul 2021 09:32:06 +0000 (11:32 +0200)
frame was unused so let's remove it.

Signed-off-by: Sébastien Han <seb@redhat.com>
src/ceph-crash.in

index 4858b2bb19e9ec64e1d4affe42678f509c820e23..f7f575b6f75a5cd5945e4c29b46b2055fa507a64 100755 (executable)
@@ -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)