summaryrefslogtreecommitdiff
path: root/icktool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-01-13 17:43:13 +0200
committerLars Wirzenius <liw@liw.fi>2018-01-14 22:25:01 +0200
commit2477c5bf213ae311b1bf812f3097a26d8d9ead4c (patch)
treece5012b8730b49de719ce6eeac52f00286d555d4 /icktool
parent4c089769989460b7bb5e255baaa0e2f5f8ed02ce (diff)
downloadick2-2477c5bf213ae311b1bf812f3097a26d8d9ead4c.tar.gz
Add: run shell actions in a container if requested
Diffstat (limited to 'icktool')
-rwxr-xr-xicktool6
1 files changed, 3 insertions, 3 deletions
diff --git a/icktool b/icktool
index b314c58..35cb251 100755
--- a/icktool
+++ b/icktool
@@ -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())