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