From 58f5ea4879a9a8b486e13bcf0213f0762efbf3f9 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Mon, 13 Nov 2017 00:57:09 +0200 Subject: Don't show "force" keyword when new branches are created/deleted Closes #17 --- local/handler/PushHandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local/handler/PushHandler.py b/local/handler/PushHandler.py index 4ab47b7..dc85425 100644 --- a/local/handler/PushHandler.py +++ b/local/handler/PushHandler.py @@ -57,7 +57,8 @@ def handle(data, theme): forced = data['forced'] ) elif branched: - action = "force %s" % (action,) + if data['forced']: + action = "force %s" % (action,) if isTag: theme.tag( -- cgit v1.2.3