Skip to content

Commit 34ecf07

Browse files
committed
pip: Fix a logic bug on blocking restricted modules
1 parent 8b54d0a commit 34ecf07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pip/flatpak-pip-generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ def to_ver(v: str) -> Version | None:
10011001
"shiboken6",
10021002
}
10031003

1004-
if ALLOW_RESTR_MODULES:
1004+
if not ALLOW_RESTR_MODULES:
10051005
for i in packages:
10061006
name = i["name"].lower()
10071007
if name in PYQT_PACKAGES:

0 commit comments

Comments
 (0)