From 2477c5bf213ae311b1bf812f3097a26d8d9ead4c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 13 Jan 2018 17:43:13 +0200 Subject: Add: run shell actions in a container if requested --- icktool | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'icktool') 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()) -- cgit v1.2.1