[Libreoffice-commits] core.git: bin/lint-ui.py
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 22 20:05:41 UTC 2020
bin/lint-ui.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 99062dba811edbded14c0472b241b1d8c99da712
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 22 13:12:30 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 22 21:04:52 2020 +0100
fix lint-ui syntax error
Change-Id: I8c94c28363a358e4e1dfe34b827a084c4c0e7a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108197
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/bin/lint-ui.py b/bin/lint-ui.py
index 84916229c9a0..111fa3e18b21 100755
--- a/bin/lint-ui.py
+++ b/bin/lint-ui.py
@@ -122,7 +122,7 @@ def check_menu_buttons(root):
images = button.findall("./property[@name='image']")
assert(len(labels) <= 1)
if len(labels) < 1 and len(images) < 1:
- if sys.argv[1] == "vcl/uiconfig/ui/combobox.ui": and button.attrib['id'] == "overlaybutton":
+ if sys.argv[1] == "vcl/uiconfig/ui/combobox.ui" and button.attrib['id'] == "overlaybutton":
pass
else:
lint_assert(False, "No label in GtkMenuButton with id = '" + button.attrib['id'] + "'", button)
More information about the Libreoffice-commits
mailing list