File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change 30
30
hunter = None
31
31
32
32
import sys
33
- import enum
34
33
import faulthandler
35
34
import traceback
36
35
import signal
@@ -267,13 +266,6 @@ def configure_pyqt():
267
266
# FIXME:qt6 solve this in qutebrowser/qt/sip.py equivalent?
268
267
pass
269
268
270
- # WORKAROUND for
271
- # https://www.riverbankcomputing.com/pipermail/pyqt/2022-May/044668.html
272
- if hasattr (enum , "FlagBoundary" ): # Python 3.11
273
- from qutebrowser .qt .core import QUrl
274
- # pylint: disable-next=protected-access
275
- QUrl .UrlFormattingOption ._boundary_ = enum .FlagBoundary .KEEP
276
-
277
269
278
270
def init_log (args ):
279
271
"""Initialize logging.
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ def whitelist_generator(): # noqa: C901
91
91
yield 'PaintContext.clip' # from completiondelegate.py
92
92
yield 'logging.LogRecord.log_color' # from logging.py
93
93
yield 'scripts.utils.use_color' # from asciidoc2html.py
94
- yield 'QUrl.UrlFormattingOption._boundary_'
95
94
for attr in ['pyeval_output' , 'log_clipboard' , 'fake_clipboard' ]:
96
95
yield 'qutebrowser.misc.utilcmds.' + attr
97
96
You can’t perform that action at this time.
0 commit comments