Skip to content
Snippets Groups Projects
Commit 61200f49 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Olivier SOLDANO
Browse files

fix update-translations.py script


Fix little error in condition check of lupdate execution.

Change-Id: I93b3804b6e927dca2165e4575eddfe614d64c9ac
Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 0ba7a8c6
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,7 @@ import shutil ...@@ -27,8 +27,7 @@ import shutil
print("== Updating from sources") print("== Updating from sources")
if os.system("lupdate RingWinClient.pro -no-obsolete"): if os.system("lupdate RingWinClient.pro -no-obsolete"):
print("trying with 'lupdate-qt5'") print("trying with 'lupdate-qt5'")
os.system("lupdate-qt5 RingWinClient.pro -no-obsolete") if os.system("lupdate-qt5 RingWinClient.pro -no-obsolete"):
else:
raise RuntimeError("unable to find any suitable lupdate Qt tool on this system. Stopping") raise RuntimeError("unable to find any suitable lupdate Qt tool on this system. Stopping")
print("== Pushing sources") print("== Pushing sources")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment