Kaydet (Commit) ccadc6d4 authored tarafından Samuel Thibault's avatar Samuel Thibault Kaydeden (comit) Samuel Mehrbrodt

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/50071Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 32288245
...@@ -186,9 +186,6 @@ def main(): ...@@ -186,9 +186,6 @@ def main():
elif a == "none": elif a == "none":
Wnone = True Wnone = True
if not args:
sys.exit("%s: no input files" % progname)
for filename in args: for filename in args:
try: try:
tree = ET.parse(filename) tree = ET.parse(filename)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment