Philipp Hörist pushed to branch gtk4 at gajim / gajim


Commits:
93490207 by Philipp Hörist at 2024-11-06T00:37:12+01:00
cq: Format with black

- - - - -


1 changed file:

- scripts/generate_ui_types.py


Changes:

=====================================
scripts/generate_ui_types.py
=====================================
@@ -76,11 +76,11 @@ def parse(path: Path, file: TextIOWrapper) -> str:
     lines: list[str] = []
     tree = ElementTree.parse(path)
 
-    if tree.find('template') is not None:
+    if tree.find("template") is not None:
         raise InvalidFile
 
-    for node in tree.iter(tag='object'):
-        id_ = node.attrib.get('id')
+    for node in tree.iter(tag="object"):
+        id_ = node.attrib.get("id")
 
         if id_ is None:
             continue



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9349020703b1f6a64c86d0dcb9fea0490ee40fe4

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9349020703b1f6a64c86d0dcb9fea0490ee40fe4
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to