void-packages/srcpkgs/onboard/patches/fix-brokenformat.patch
0x5c 9ef46bf26a onboard: fix SyntaxWarnings and disable tests
- A missing % operator was breaking a c-style format string, causing a
    SyntaxWarning to be trown twice at package install time (during
    byte-compilation).
- The tests were failing since they try to run 'killall' before executing
    onboard in xautomation(7), both not being possible in xbps-src.
2022-04-01 20:54:19 -05:00

15 lines
485 B
Diff

Fix for https://bugs.launchpad.net/onboard/+bug/1948723
--
--- a/Onboard/LayoutLoaderSVG.py
+++ b/Onboard/LayoutLoaderSVG.py
@@ -445,7 +445,7 @@
except KeyError as ex:
(strerror) = ex
raise Exceptions.LayoutFileError("Unrecognized modifier %s in" \
- "definition of %s" (strerror, full_id))
+ "definition of %s" % (strerror, full_id))
value = attributes.get("action")
if value: