Show More
@@ -25,7 +25,8 b'' | |||||
25 | > b'key': b'new-server-mark', |
|
25 | > b'key': b'new-server-mark', | |
26 | > b'old': b'', |
|
26 | > b'old': b'', | |
27 | > b'new': b'tip'} |
|
27 | > b'new': b'tip'} | |
28 |
> encodedparams = [(k, pushkey.encode(v)) |
|
28 | > encodedparams = [(k, pushkey.encode(v)) | |
|
29 | > for (k, v) in params.items()] | |||
29 | > op.reply.newpart(b'pushkey', mandatoryparams=encodedparams) |
|
30 | > op.reply.newpart(b'pushkey', mandatoryparams=encodedparams) | |
30 | > else: |
|
31 | > else: | |
31 | > op.reply.newpart(b'output', data=b'pushback not enabled') |
|
32 | > op.reply.newpart(b'output', data=b'pushback not enabled') |
General Comments 0
You need to be logged in to leave comments.
Login now