From 6ece9acfde69fadd4e8b105c9c14ce572ddbfbcd Mon Sep 17 00:00:00 2001 From: Clemens BlanK Date: Tue, 14 Mar 2017 21:55:22 +0000 Subject: [PATCH] Fix linting. --- config/plugins/webhooks/demo/tool_list/helper/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/plugins/webhooks/demo/tool_list/helper/__init__.py b/config/plugins/webhooks/demo/tool_list/helper/__init__.py index f9204aad328..ae8fad19484 100644 --- a/config/plugins/webhooks/demo/tool_list/helper/__init__.py +++ b/config/plugins/webhooks/demo/tool_list/helper/__init__.py @@ -1,5 +1,6 @@ import yaml + def main(trans, webhook): data = {} data['tools'] = [] @@ -11,7 +12,9 @@ def main(trans, webhook): if tool[1].tool_shed_repository is not None: name = str(tool[1].tool_shed_repository.name) - revision = str(tool[1].tool_shed_repository.installed_changeset_revision) + revision = str( + tool[1].tool_shed_repository.installed_changeset_revision + ) if (name + revision) not in unique_tools: @@ -29,6 +32,6 @@ def main(trans, webhook): }) if tool[1].get_panel_section()[0]: data['tools'][-1]['tool_panel_section_id'] = \ - tool[1].get_panel_section()[0] + tool[1].get_panel_section()[0] return {'yaml': yaml.safe_dump(data, default_flow_style=False)}