]> git.mar77i.info Git - localapps/commitdiff
librewolf: fix line width, abolish that local
authormar77i <mar77i@protonmail.ch>
Sat, 24 Jan 2026 10:50:02 +0000 (11:50 +0100)
committermar77i <mar77i@protonmail.ch>
Sat, 24 Jan 2026 10:50:02 +0000 (11:50 +0100)
apps/librewolf.py

index a846a09b872b69e0bdca62b05727bcc0cb0179fb..bdeec2202ff81808273a47499788350cd0f68cb0 100644 (file)
@@ -43,14 +43,19 @@ class DownloadFinder(HTMLParser):
 class LibreWolfApp(AppBase):
     NAME = "LibreWolf"
     RELEASE_URL = "https://codeberg.org/librewolf/bsys6/releases.rss"
-    DESKTOP_URL = "https://aur.archlinux.org/cgit/aur.git/plain/librewolf.desktop?h=librewolf"
-    ICON_URL = "https://aur.archlinux.org/cgit/aur.git/plain/default192x192.png?h=librewolf"
+    DESKTOP_URL = (
+        "https://aur.archlinux.org/cgit/aur.git/plain/librewolf.desktop?h=librewolf"
+    )
+    ICON_URL = (
+        "https://aur.archlinux.org/cgit/aur.git/plain/default192x192.png?h=librewolf"
+    )
     BIN_PATH = AppBase.APPS_DIR / "librewolf" / "librewolf"
 
     @classmethod
     def get_latest_version(cls):
-        tree = ElementTree.parse(urlopen(cls.RELEASE_URL))
-        return next(iter(tree.getroot())).find("item").find("title").text
+        return next(
+            iter(ElementTree.parse(urlopen(cls.RELEASE_URL)).getroot())
+        ).find("item").find("title").text
 
     @classmethod
     def get_installed_version(cls):