diff options
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): |