diff options
author | kongr45gpen <electrovesta@gmail.com> | 2017-11-13 00:57:09 +0200 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2017-11-13 00:57:09 +0200 |
commit | 58f5ea4879a9a8b486e13bcf0213f0762efbf3f9 (patch) | |
tree | b4c3fbbe17318814d05787f1cb3eab319ba9c339 | |
parent | a97bcb7ddeaed7be5d0adc2f924f007a6f991db8 (diff) | |
download | supybot_github-58f5ea4879a9a8b486e13bcf0213f0762efbf3f9.tar.gz supybot_github-58f5ea4879a9a8b486e13bcf0213f0762efbf3f9.tar.bz2 supybot_github-58f5ea4879a9a8b486e13bcf0213f0762efbf3f9.zip |
Don't show "force" keyword when new branches are created/deleted
Closes #17
-rw-r--r-- | local/handler/PushHandler.py | 3 |
1 files changed, 2 insertions, 1 deletions
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( |