Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372
diff --git a/bin/event_notification_util.py b/bin/event_notification_util.py
index 9c52176..380a120 100755
--- a/bin/event_notification_util.py
+++ b/bin/event_notification_util.py
@@ -8,41 +8,39 @@
save_dir_path = sys.path.pop(0)
-modules = ["gen_arg", "gen_print", "gen_valid", "event_notification"]
+modules = ['gen_arg', 'gen_print', 'gen_valid', 'event_notification']
for module in modules:
exec("from " + module + " import *")
sys.path.insert(0, save_dir_path)
parser = argparse.ArgumentParser(
- usage="%(prog)s [OPTIONS]",
+ usage='%(prog)s [OPTIONS]',
description="%(prog)s will subscribe and receive event notifications when "
- + "properties change for the given dbus path.",
+ + "properties change for the given dbus path.",
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- prefix_chars="-+",
-)
+ prefix_chars='-+')
parser.add_argument(
- "--host",
- default="",
- help="The host name or IP of the system to subscribe to.",
-)
+ '--host',
+ default='',
+ help='The host name or IP of the system to subscribe to.')
parser.add_argument(
- "--username", default="root", help="The username for the host system."
-)
+ '--username',
+ default='root',
+ help='The username for the host system.')
parser.add_argument(
- "--password", default="", help="The password for the host system."
-)
+ '--password',
+ default='',
+ help='The password for the host system.')
parser.add_argument(
- "--dbus_path",
- default="",
- help='The path to be monitored (e.g. "/xyz/openbmc_project/sensors").',
-)
+ '--dbus_path',
+ default='',
+ help='The path to be monitored (e.g. "/xyz/openbmc_project/sensors").')
parser.add_argument(
- "--enable_trace",
+ '--enable_trace',
choices=[0, 1],
default=0,
- help="Indicates that trace needs to be enabled.",
-)
+ help='Indicates that trace needs to be enabled.')
# Populate stock_list with options we want.