Account for the instance of submodules.pack.Packer #104184

Merged
Sybren A. Stüvel merged 5 commits from Nitin-Rawat-1/flamenco:104183-Error-submitting-job into main 2023-02-17 11:06:08 +01:00
Showing only changes of commit 518e5fc7ba - Show all commits

View File

@ -8,7 +8,6 @@ import logging
import queue
import threading
import typing
import traceback
dr.sybren marked this conversation as resolved

Please dont' include formatting changes. In general, cleanups of formatting (and other changes that don't alter the functionality) should be in a PR by themselves.

Please dont' include formatting changes. In general, cleanups of formatting (and other changes that don't alter the functionality) should be in a PR by themselves.
from . import submodules
log = logging.getLogger(__name__)
@ -149,7 +148,6 @@ class PackThread(threading.Thread):
except BaseException as ex:
log.error("Error packing with BAT: %s", ex)
self.queue.put(MsgException(ex=ex))
traceback.print_exc()
finally:
with _packer_lock:
_running_packthread = None