sdbus++: fix PEP8 style errors
Change-Id: I51ce57d22c86ac80322559fa1c03cb26df8eb278
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tools/sdbus++ b/tools/sdbus++
index 01922c9..76998c9 100755
--- a/tools/sdbus++
+++ b/tools/sdbus++
@@ -4,11 +4,12 @@
import argparse
import sys
+
def main():
- valid_types = { 'interface': sdbusplus.Interface }
- valid_processes = { 'markdown' : "markdown",
- 'server-header' : "server_header",
- 'server-cpp' : "server_cpp" }
+ valid_types = {'interface': sdbusplus.Interface}
+ valid_processes = {'markdown': "markdown",
+ 'server-header': "server_header",
+ 'server-cpp': "server_cpp"}
parser = argparse.ArgumentParser(description='Process sdbus++ YAML files.')
@@ -25,9 +26,9 @@
parser.add_argument('item', metavar='ITEM', type=str,
help='Item to process.')
- args = parser.parse_args();
+ args = parser.parse_args()
- if sys.version_info < (3,0):
+ if sys.version_info < (3, 0):
lookup = mako.lookup.TemplateLookup(directories=[args.templatedir],
disable_unicode=True)
else: