[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - scripts/unocommands.py
Andras Timar
andras.timar at collabora.com
Fri Dec 8 09:51:07 UTC 2017
scripts/unocommands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f096cf33977620f368ecc7c5b64164ab2303060b
Author: Andras Timar <andras.timar at collabora.com>
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 <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
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
More information about the Libreoffice-commits
mailing list