scripts/unocommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f096cf33977620f368ecc7c5b64164ab2303060b Author: Andras Timar <[email protected]> Date: Fri Dec 8 10:27:01 2017 +0100 l10n: len(sys.argv) is 1, when the command is invoked without options Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76 Reviewed-on: https://gerrit.libreoffice.org/46078 Reviewed-by: Jan Holesovsky <[email protected]> Tested-by: Jan Holesovsky <[email protected]> diff --git a/scripts/unocommands.py b/scripts/unocommands.py index a1fd3853..e048e1b3 100755 --- a/scripts/unocommands.py +++ b/scripts/unocommands.py @@ -208,7 +208,7 @@ def writeTranslations(onlineDir, translationsDir, descriptions): f.write('\n}\n') if __name__ == "__main__": - if len(sys.argv) < 1: + if len(sys.argv) < 2: usageAndExit() check = False _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
