Show More
@@ -149,7 +149,10 b" gboptsmap = {'heads': 'nodes'," | |||||
149 | class wirepeer(peer.peerrepository): |
|
149 | class wirepeer(peer.peerrepository): | |
150 |
|
150 | |||
151 | def batch(self): |
|
151 | def batch(self): | |
152 | return remotebatch(self) |
|
152 | if self.capable('batch'): | |
|
153 | return remotebatch(self) | |||
|
154 | else: | |||
|
155 | return peer.localbatch(self) | |||
153 | def _submitbatch(self, req): |
|
156 | def _submitbatch(self, req): | |
154 | cmds = [] |
|
157 | cmds = [] | |
155 | for op, argsdict in req: |
|
158 | for op, argsdict in req: |
General Comments 0
You need to be logged in to leave comments.
Login now