add (currently unused) abort command
This commit is contained in:
parent
4fbe091c3b
commit
03b2ad37d9
@ -658,6 +658,9 @@ class RemoteServer(HttpSyncer):
|
||||
def finish(self, **kw):
|
||||
return self._run("finish", kw)
|
||||
|
||||
def abort(self, **kw):
|
||||
return self._run("abort", kw)
|
||||
|
||||
def _run(self, cmd, data):
|
||||
return json.loads(
|
||||
self.req(cmd, io.BytesIO(json.dumps(data).encode("utf8"))).decode("utf8"))
|
||||
|
Loading…
Reference in New Issue
Block a user