From: mar77i Date: Sat, 24 Jan 2026 10:50:02 +0000 (+0100) Subject: librewolf: fix line width, abolish that local X-Git-Url: https://git.mar77i.info/?a=commitdiff_plain;h=bfb98d8ad5c3caff0e72b02a942f093f7276a0ad;p=localapps librewolf: fix line width, abolish that local --- diff --git a/apps/librewolf.py b/apps/librewolf.py index a846a09..bdeec22 100644 --- a/apps/librewolf.py +++ b/apps/librewolf.py @@ -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):