ceph-crash.in:21:1: E302 expected 2 blank lines, found 1
ceph-crash.in:32:80: E501 line too long (86 > 79 characters)
ceph-crash.in:82:1: E302 expected 2 blank lines, found 1
ceph-crash.in:86:1: E302 expected 2 blank lines, found 1
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
0aee76965f92865d7f6e28b73b46dbdb5f1f9463)
'client.crash',
'client.admin']
+
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument(
)
parser.add_argument(
'--name', '-n',
- help='ceph name to authenticate as (default: try client.crash, client.admin)')
+ help='ceph name to authenticate as '
+ '(default: try client.crash, client.admin)')
parser.add_argument(
'--log-level', '-l',
help='log level output (default: INFO), support INFO or DEBUG')
(metapath, p, os.path.join('posted/', p))
)
+
def handler(signum, frame):
print('*** Interrupted with signal %d ***' % signum)
sys.exit(0)
+
def main():
global auth_names
# exit code 0 on SIGINT, SIGTERM