Show More
@@ -64,10 +64,7 b' def branches(repo, req):' | |||
|
64 | 64 | def between(repo, req): |
|
65 | 65 | pairs = [map(bin, p.split("-")) |
|
66 | 66 | for p in req.form['pairs'][0].split(" ")] |
|
67 | resp = cStringIO.StringIO() | |
|
68 | for b in repo.between(pairs): | |
|
69 | resp.write(" ".join(map(hex, b)) + "\n") | |
|
70 | resp = resp.getvalue() | |
|
67 | resp = ''.join(" ".join(map(hex, b)) + "\n" for b in repo.between(pairs)) | |
|
71 | 68 | req.respond(HTTP_OK, HGTYPE, length=len(resp)) |
|
72 | 69 | yield resp |
|
73 | 70 |
General Comments 0
You need to be logged in to leave comments.
Login now