From 50635269ed308f66978edbdbcc4e12e6d04d0702 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 20 Apr 2018 19:56:44 +0300 Subject: Fix: icktool style --- icktool | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'icktool') diff --git a/icktool b/icktool index 63b3cda..4328841 100755 --- a/icktool +++ b/icktool @@ -125,7 +125,7 @@ class Icktool(cliapp.Application): cmd = self._command(BuildGraphCommand) cmd.execute(args) - def cmd_make_it_so(self, argv): + def cmd_make_it_so(self, args): cmd = self._command(MakeItSoCommand) cmd.execute(args) @@ -237,9 +237,11 @@ def _latest_build(project_name, builds): return builds[-1] return None + def _find_builds(project_name, builds): return [b for b in builds['builds'] if b['project'] == project_name] + def _find_build(builds, build_id): for build in builds: if build['build_id'] == build_id: @@ -268,7 +270,7 @@ class VersionCommand(Command): self._prettyson(version) -class StatusCommand(Command): +class StatusCommand(Command): def execute(self, args): table = Table() @@ -299,7 +301,6 @@ class StatusCommand(Command): self.output.write(table.format()) - class BuildGraphCommand(Command): def execute(self, args): -- cgit v1.2.1