Explorar el Código

Oops, fixed author parsing.

This was supposed to be part of the last commit.
Heikki Hokkanen hace 16 años
padre
commit
d1a2b53576
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Ver fichero

@@ -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