5621: minor change

svn: r19104
This commit is contained in:
Jérôme Rapinat 2012-03-20 11:13:39 +00:00
parent 30a25b7b7f
commit 1722a36829

View File

@ -422,11 +422,10 @@ def untranslated(args):
""" """
if len(args) > 1: if len(args) > 1:
print('Please, use only one argument (ex: sv.po).') print('Please, use only one argument (ex: fr.po).')
return return
for arg in args: os.system('''%(msgattrib)s --untranslated %(lang.po)s''' % {'msgattrib': msgattribCmd, 'lang.po': args[0]})
os.system('''%(msgattrib)s --untranslated %(lang.po)s''' % {'msgattrib': msgattribCmd, 'lang.po': arg})
def fuzzy(args): def fuzzy(args):
""" """
@ -434,11 +433,10 @@ def fuzzy(args):
""" """
if len(args) > 1: if len(args) > 1:
print('Please, use only one argument (ex: sv.po).') print('Please, use only one argument (ex: fr.po).')
return return
for arg in args: os.system('''%(msgattrib)s --only-fuzzy --no-obsolete %(lang.po)s''' % {'msgattrib': msgattribCmd, 'lang.po': args[0]})
os.system('''%(msgattrib)s --only-fuzzy --no-obsolete %(lang.po)s''' % {'msgattrib': msgattribCmd, 'lang.po': arg})
if __name__ == "__main__": if __name__ == "__main__":
main() main()