summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-24 22:18:25 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-24 22:18:25 +0200
commit5d90daea17b1d95ef654148fe7fbe4c555444b4b (patch)
treef42379a68699b98601f12ed8abe92e0e19a29113
parent74f1aef555d5ba120391085af5f7a56b8a54d978 (diff)
Added missing format argument to the branches command.
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitnoti.py b/gitnoti.py
index b97df89..191a453 100755
--- a/gitnoti.py
+++ b/gitnoti.py
@@ -265,7 +265,7 @@ class Bot(irc.IRCClient):
self.msg(target, msg)
elif cmd == 'branches':
if not len(messagelist) == 3:
- self.msg(target, 'Usage: %s branches REPO')
+ self.msg(target, 'Usage: %s branches REPO' % self.nickname)
return
repo = self.get_repo(messagelist[2].lower(), target)