Remove stuff for Python < 3.7

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-04-17 08:15:48 +02:00
parent 2a73e3bc77
commit 81225722aa

View file

@ -6,14 +6,11 @@ import os
import signal import signal
import sys import sys
import tempfile import tempfile
from queue import Queue, Empty
from subprocess import Popen, PIPE, STDOUT from subprocess import Popen, PIPE, STDOUT
from threading import Thread from threading import Thread
try:
from Queue import Queue, Empty
except ImportError:
from queue import Queue, Empty
from time import sleep from time import sleep
try: try:
import simplejson as json import simplejson as json
except ImportError: except ImportError: