Some imports were missing
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		@@ -1,11 +1,15 @@
 | 
			
		||||
# Copyright (C) 2020 by eichhornchen, ÿnérant
 | 
			
		||||
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 | 
			
		||||
from typing import Any, List, Optional, Tuple
 | 
			
		||||
from typing import Any, Tuple
 | 
			
		||||
from ipaddress import IPv6Address
 | 
			
		||||
from enum import Enum
 | 
			
		||||
from messages import Packet, TLV, HelloTLV, NeighbourTLV, Pad1TLV, PadNTLV, DataTLV, AckTLV, GoAwayTLV, WarningTLV
 | 
			
		||||
from threading import Thread
 | 
			
		||||
import curses
 | 
			
		||||
import re
 | 
			
		||||
import socket
 | 
			
		||||
 | 
			
		||||
from .messages import Packet, DataTLV
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Hazelnut:
 | 
			
		||||
    """
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,11 @@
 | 
			
		||||
# Copyright (C) 2020 by eichhornchen, ÿnérant
 | 
			
		||||
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 | 
			
		||||
from typing import Any, List, Optional, Tuple
 | 
			
		||||
from typing import Any, List, Optional
 | 
			
		||||
from ipaddress import IPv6Address
 | 
			
		||||
from enum import Enum
 | 
			
		||||
import sys
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TLV:
 | 
			
		||||
    """
 | 
			
		||||
 
 | 
			
		||||
@@ -2,17 +2,11 @@
 | 
			
		||||
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 | 
			
		||||
import curses
 | 
			
		||||
import re
 | 
			
		||||
import socket
 | 
			
		||||
import sys
 | 
			
		||||
from argparse import ArgumentParser
 | 
			
		||||
from enum import Enum
 | 
			
		||||
from ipaddress import IPv6Address
 | 
			
		||||
from threading import Thread
 | 
			
		||||
from typing import Any, List, Optional, Tuple
 | 
			
		||||
from typing import Any
 | 
			
		||||
 | 
			
		||||
from squinnondation.term_manager import TermManager
 | 
			
		||||
from hazel import Hazelnut, Squirrel
 | 
			
		||||
from .hazel import Hazelnut, Squirrel, Worm
 | 
			
		||||
from .term_manager import TermManager
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Squinnondation:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user