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