Parcourir la source

Oops, fixed author parsing.

This was supposed to be part of the last commit.
Heikki Hokkanen il y a 16 ans
Parent
révision
d1a2b53576
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Voir le fichier

@@ -227,7 +227,7 @@ class GitDataCollector(DataCollector):
227 227
 				stamp = 0
228 228
 			timezone = parts[3]
229 229
 			if len(parts) > 4:
230
-				author = ' '.join(parts[1:])
230
+				author = ' '.join(parts[4:])
231 231
 			date = datetime.datetime.fromtimestamp(float(stamp))
232 232
 
233 233
 			# First and last commit stamp