summaryrefslogtreecommitdiff
path: root/bin/gla11y
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@hypra.fr>2018-02-21 00:12:45 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-02-21 11:30:41 +0100
commitccadc6d4a5fab687434a0972862d49f77328c6c9 (patch)
tree23df956bcddf7670b02997b2911521caaf8bafd1 /bin/gla11y
parent32288245d57765821172182cbd132489d404db88 (diff)
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 <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'bin/gla11y')
-rwxr-xr-xbin/gla11y3
1 files changed, 0 insertions, 3 deletions
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)