Some minor stuff for Py3

This commit is contained in:
Miroslav Stampar
2019-03-27 00:58:12 +01:00
parent 8d89389c36
commit a21cbcb665
5 changed files with 61 additions and 20 deletions

View File

@@ -27,7 +27,6 @@ try:
import re
import shutil
import sys
import thread
import threading
import time
import traceback
@@ -169,7 +168,7 @@ def main():
else:
try:
start()
except thread.error as ex:
except Exception as ex:
if "can't start new thread" in getSafeExString(ex):
errMsg = "unable to start new threads. Please check OS (u)limits"
logger.critical(errMsg)