From ccadc6d4a5fab687434a0972862d49f77328c6c9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 21 Feb 2018 00:12:45 +0100 Subject: gla11y: do not fail when not passed any .ui file This avoids build failures when a directory uses UIConfig but does not add any ui file. Change-Id: I63413f87fc5515ffb9e3dd9baf25c6a4ba70c2be Reviewed-on: https://gerrit.libreoffice.org/50071 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- bin/gla11y | 3 --- 1 file changed, 3 deletions(-) (limited to 'bin') diff --git a/bin/gla11y b/bin/gla11y index d0619133ad0f..fc06fac7da01 100755 --- a/bin/gla11y +++ b/bin/gla11y @@ -186,9 +186,6 @@ def main(): elif a == "none": Wnone = True - if not args: - sys.exit("%s: no input files" % progname) - for filename in args: try: tree = ET.parse(filename) -- cgit