Show More
@@ -15,7 +15,7 b' def commit(text, time):' | |||||
15 | repo.commit(text=text, date=b"%d 0" % time) |
|
15 | repo.commit(text=text, date=b"%d 0" % time) | |
16 |
|
16 | |||
17 | def addcommit(name, time): |
|
17 | def addcommit(name, time): | |
18 | f = open(name, 'w') |
|
18 | f = open(name, 'wb') | |
19 | f.write(b'%s\n' % name) |
|
19 | f.write(b'%s\n' % name) | |
20 | f.close() |
|
20 | f.close() | |
21 | repo[None].add([name]) |
|
21 | repo[None].add([name]) |
General Comments 0
You need to be logged in to leave comments.
Login now