Merge pull request #988 from MaxMorais/patch-1

Fix UnicodeDecodeError
This commit is contained in:
Nabin Hait 2013-10-23 22:03:57 -07:00
commit f62c386a34

View File

@ -14,6 +14,7 @@ def make():
out.seek(0)
last_commit = None
for l in out.readlines():
l = l.decode('utf-8')
if last_commit is not None:
if l.startswith("Date:"):
last_commit["date"] = l[8:-1]
@ -59,4 +60,4 @@ def make():
lufile.write(json.dumps(logs, indent=1, sort_keys=True))
if __name__=="__main__":
make()
make()