mirror of https://github.com/nocturn9x/giambio.git
Small fixes
This commit is contained in:
parent
44a07521b2
commit
2cdaa231b4
|
@ -318,7 +318,7 @@ class AsyncScheduler:
|
||||||
dict(self.selector.get_map()).values(),
|
dict(self.selector.get_map()).values(),
|
||||||
):
|
):
|
||||||
self.io_release(k.fileobj)
|
self.io_release(k.fileobj)
|
||||||
task.last_io = ()
|
task.last_io = ()
|
||||||
|
|
||||||
def io_release(self, sock):
|
def io_release(self, sock):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -18,6 +18,7 @@ limitations under the License.
|
||||||
|
|
||||||
import traceback
|
import traceback
|
||||||
from typing import List
|
from typing import List
|
||||||
|
from giambio.task import Task
|
||||||
|
|
||||||
|
|
||||||
class GiambioError(Exception):
|
class GiambioError(Exception):
|
||||||
|
@ -43,7 +44,7 @@ class CancelledError(GiambioError):
|
||||||
at least it should be re-raised and never ignored
|
at least it should be re-raised and never ignored
|
||||||
"""
|
"""
|
||||||
|
|
||||||
...
|
task: Task
|
||||||
|
|
||||||
|
|
||||||
class ResourceBusy(GiambioError):
|
class ResourceBusy(GiambioError):
|
||||||
|
|
Loading…
Reference in New Issue