PICARD-2331: Upgrade to PyQt6

This commit is contained in:
Philipp Wolfer
2022-06-08 21:56:03 +02:00
parent f95f3ead9a
commit 7d55ae5e5d
156 changed files with 766 additions and 685 deletions

View File

@@ -139,7 +139,7 @@ def parse_file(path, encoding='utf-8'):
authors_from_file = {}
fix_header_pattern = re.compile(r'^(?:#|/\*|//)\s+(fix-header:)\s*(.*)$', re.IGNORECASE)
skip_pattern = re.compile(r'^(?:#|/\*|//)\s+(Automatically\s+generated|Created\s+by:\s+The\s+Resource\s+Compiler\s+for\s+PyQt5)', re.IGNORECASE)
skip_pattern = re.compile(r'^(?:#|/\*|//)\s+(Automatically\s+generated|Created\s+by:\s+The\s+Resource\s+Compiler\s+for\s+PyQt6)', re.IGNORECASE)
with open(path, encoding=encoding) as f:
lines = f.readlines()
found = defaultdict(lambda: None)