Show More
@@ -62,9 +62,8 b' def branches(repo, req):' | |||
|
62 | 62 | yield resp |
|
63 | 63 | |
|
64 | 64 | def between(repo, req): |
|
65 | if 'pairs' in req.form: | |
|
66 | pairs = [map(bin, p.split("-")) | |
|
67 | for p in req.form['pairs'][0].split(" ")] | |
|
65 | pairs = [map(bin, p.split("-")) | |
|
66 | for p in req.form['pairs'][0].split(" ")] | |
|
68 | 67 | resp = cStringIO.StringIO() |
|
69 | 68 | for b in repo.between(pairs): |
|
70 | 69 | resp.write(" ".join(map(hex, b)) + "\n") |
General Comments 0
You need to be logged in to leave comments.
Login now