From e230f803ce85be23415bb3fdaedb403686e08888 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 11 Apr 2017 15:41:26 -0400 Subject: [PATCH 1/2] Correct missing argument __new__ was missed in the last commit. --- confluent_server/confluent/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/log.py b/confluent_server/confluent/log.py index c916dcfd..c63ddf12 100644 --- a/confluent_server/confluent/log.py +++ b/confluent_server/confluent/log.py @@ -494,7 +494,7 @@ class Logger(object): False, events will be formatted like syslog: date: message """ - def __new__(cls, logname, console=False, tenant=None): + def __new__(cls, logname, console=False, tenant=None, buffered=True): global _loggers if console: relpath = 'consoles/' + logname From 27294103cfe0199123f43216c6aa7f08cc16d043 Mon Sep 17 00:00:00 2001 From: Amanda Duffy Date: Thu, 20 Apr 2017 14:30:33 -0400 Subject: [PATCH 2/2] Complain if not enough args --- confluent_client/bin/nodeidentify | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_client/bin/nodeidentify b/confluent_client/bin/nodeidentify index 17c397d9..2cbf573f 100755 --- a/confluent_client/bin/nodeidentify +++ b/confluent_client/bin/nodeidentify @@ -37,6 +37,9 @@ except IndexError: identifystate = None if len(sys.argv) > 2: identifystate = sys.argv[2] +else: + argparser.print_help() + sys.exit(1) session = client.Command() exitcode = 0 sys.exit(