summaryrefslogtreecommitdiff
path: root/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch')
-rw-r--r--dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch b/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch
new file mode 100644
index 000000000000..7a3d812f1771
--- /dev/null
+++ b/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch
@@ -0,0 +1,13 @@
+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