diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-13 17:43:13 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-14 22:25:01 +0200 |
commit | 2477c5bf213ae311b1bf812f3097a26d8d9ead4c (patch) | |
tree | ce5012b8730b49de719ce6eeac52f00286d555d4 /icktool | |
parent | 4c089769989460b7bb5e255baaa0e2f5f8ed02ce (diff) | |
download | ick2-2477c5bf213ae311b1bf812f3097a26d8d9ead4c.tar.gz |
Add: run shell actions in a container if requested
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -174,10 +174,10 @@ class Icktool(cliapp.Application): def _make_it_so(self, rc, objs): for obj in objs: - if projects.exists(obj): - projects.update(obj) + if rc.exists(obj): + rc.update(obj) else: - project.create(obj) + rc.create(obj) def cmd_list_projects(self, args): self._prettyson(self._get_projects()) |