mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
remove unused code in rpc.py
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import json
|
import json
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
@@ -60,7 +59,6 @@ class Rpc:
|
|||||||
}
|
}
|
||||||
data = (json.dumps(request) + "\n").encode()
|
data = (json.dumps(request) + "\n").encode()
|
||||||
self.process.stdin.write(data)
|
self.process.stdin.write(data)
|
||||||
event = asyncio.Event()
|
|
||||||
loop = asyncio.get_running_loop()
|
loop = asyncio.get_running_loop()
|
||||||
fut = loop.create_future()
|
fut = loop.create_future()
|
||||||
self.request_events[request_id] = fut
|
self.request_events[request_id] = fut
|
||||||
|
|||||||
Reference in New Issue
Block a user