diff options
author | Philipp Albrecht <palbrecht@mailbox.org> | 2023-07-21 08:41:10 +0200 |
---|---|---|
committer | Philipp Albrecht <palbrecht@mailbox.org> | 2023-07-21 08:41:10 +0200 |
commit | 5da4c6022ec424bfb37292fabe10fc8100f65b1b (patch) | |
tree | 888eee10baa72ad5a036ed5a9e9e79bb8fa952fd | |
parent | d7b420dc4b18cac3a09bb11af3a6e9f1005e6af8 (diff) | |
download | qutebrowser-5da4c6022ec424bfb37292fabe10fc8100f65b1b.tar.gz qutebrowser-5da4c6022ec424bfb37292fabe10fc8100f65b1b.zip |
Add note on keeping qutebrowser.utils.log a Qt-free zone
-rw-r--r-- | qutebrowser/utils/log.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 7542dbd30..f2a6c396d 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -31,6 +31,9 @@ import argparse from typing import (TYPE_CHECKING, Any, Iterator, Mapping, MutableSequence, Optional, Set, Tuple, Union, TextIO, Literal, cast) +# NOTE: This is a Qt-free zone! All imports related to Qt logging should be done in +# qutebrowser.utils.qtlog (see https://github.com/qutebrowser/qutebrowser/issues/7769). + # Optional imports try: import colorama |