# HG changeset patch # User Scott Chacon # Date 1241807619 25200 # Node ID f8f975c73ed0cafdff15785c7410ef83d86f464d # Parent 64f451f2d50a240502475d57cde0006d1144f377 time is not necessary 10 bytes length data taken from Linus kernel source: === tree 11765faf4a761388e012ed4ef3be453336594598 parent e0d5dab24deac859b1b2326c4ad0745572d16d10 author Ursula Braun 1 +0100 committer Jeff Garzik 1192849202 -0400 qeth: remove header_ops bug Remove qeth bug caused by commit: [NET]: Move hardware header operations out of netdevice. Signed-off-by: Ursula Braun Signed-off-by: Jeff Garzik === diff --git a/dulwich/objects.py b/dulwich/objects.py --- a/dulwich/objects.py +++ b/dulwich/objects.py @@ -467,7 +467,7 @@ assert text[count] == ' ', "Invalid commit object, " \ "author information must be followed by space not %s" % text[count] count += 1 - self._author_time = int(text[count:count+10]) + self._author_time = int(text[count:].split(" ", 1)[0]) while text[count] != ' ': count += 1 self._author_timezone = int(text[count:count+6])