From 3806a8a08c19402c25f1f54923ee54048e5125af Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Thu, 29 Sep 2011 03:57:14 +0200 Subject: [PATCH] Author names instead of usernames. --- ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ping.py b/ping.py index bb4af6a..408abc9 100644 --- a/ping.py +++ b/ping.py @@ -57,11 +57,11 @@ class ping: who = "" if len(data['commits']) == 1: - who = data['commits'][0]['author']['username'] + who = data['commits'][0]['author']['name'] else: who = set() # unique entries for commit in data['commits']: - who.add(commit['author']['username']) + who.add(commit['author']['name']) who = ", ".join(who) return "Git commit: \'{0}\': {1} by {2}".format(data['repository']['name'],