You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch

14 lines
401 B

diff --git a/qtpy/uic.py b/qtpy/uic.py
index 07d7a78..84525ab 100644
--- a/qtpy/uic.py
+++ b/qtpy/uic.py
@@ -181,7 +181,7 @@ else:
custom_widget_classes = {}
- for custom_widget in custom_widgets.getchildren():
+ for custom_widget in list(custom_widgets):
cw_class = custom_widget.find('class').text
cw_header = custom_widget.find('header').text