Fix exception when verbosity and concurrency enabled.
Pick up 3f94bf1f ("fix:usr: Verbosity setting is broken with concurrency.") from upstream.
This can be removed once we move to 3.0.3 (not released yet).
Fixes #1 (closed) :
Traceback (most recent call last): File "/usr/lib/python3.12/concurrent/futures/process.py", line 242, in _process_worker initializer(*initargs) File "/usr/lib/python3.12/site-packages/duplicity/backend_pool.py", line 180, in _process_init logger = multiprocessing.log_to_stderr(level=logging.getLevelName(log.LevelName(config.verbosity))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/multiprocessing/context.py", line 162, in log_to_stderr return log_to_stderr(level) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/multiprocessing/util.py", line 101, in log_to_stderr logger.setLevel(level) File "/usr/lib/python3.12/logging/init.py", line 1514, in setLevel self.level = _checkLevel(level) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/logging/init.py", line 213, in _checkLevel raise ValueError("Unknown level: %r" % level) ValueError: Unknown level: 'Level NOTICE'