diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-20 19:56:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-20 19:56:44 +0300 |
commit | 50635269ed308f66978edbdbcc4e12e6d04d0702 (patch) | |
tree | bc6b7549777281cf5a598a2952dda12982c7aba5 /icktool | |
parent | 4deed7d1a81700312ba1c3f86c7bf63bb60348a6 (diff) | |
download | ick2-50635269ed308f66978edbdbcc4e12e6d04d0702.tar.gz |
Fix: icktool style
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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): |