mirror of
https://github.com/markqvist/rnsh.git
synced 2024-10-01 01:15:37 -04:00
Remove some stuff blocking older versions
This commit is contained in:
parent
acc217df90
commit
64fec6e012
@ -20,6 +20,7 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
from __future__ import annotations
|
||||
import asyncio
|
||||
import contextlib
|
||||
import copy
|
||||
|
@ -26,7 +26,7 @@ import sys
|
||||
import termios
|
||||
import rnsh.process as process
|
||||
from logging import Handler, getLevelName
|
||||
from types import GenericAlias
|
||||
# from types import GenericAlias
|
||||
from typing import Any
|
||||
|
||||
import RNS
|
||||
@ -101,7 +101,7 @@ class RnsHandler(Handler):
|
||||
level = getLevelName(self.level)
|
||||
return '<%s (%s)>' % (self.__class__.__name__, level)
|
||||
|
||||
__class_getitem__ = classmethod(GenericAlias)
|
||||
# __class_getitem__ = classmethod(GenericAlias)
|
||||
|
||||
|
||||
log_format = '%(name)-30s %(message)s [%(threadName)s]'
|
||||
|
Loading…
Reference in New Issue
Block a user