summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Albrecht <palbrecht@mailbox.org>2023-07-21 08:41:10 +0200
committerPhilipp Albrecht <palbrecht@mailbox.org>2023-07-21 08:41:10 +0200
commit5da4c6022ec424bfb37292fabe10fc8100f65b1b (patch)
tree888eee10baa72ad5a036ed5a9e9e79bb8fa952fd
parentd7b420dc4b18cac3a09bb11af3a6e9f1005e6af8 (diff)
downloadqutebrowser-5da4c6022ec424bfb37292fabe10fc8100f65b1b.tar.gz
qutebrowser-5da4c6022ec424bfb37292fabe10fc8100f65b1b.zip
Add note on keeping qutebrowser.utils.log a Qt-free zone
-rw-r--r--qutebrowser/utils/log.py3
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