Closed Bug 1123079 Opened 10 years ago Closed 10 years ago

Count the number of locales updated

Categories

(Marketing :: Copy, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: Sylvestre)

Details

Attachments

(1 file)

No description provided.
Attached patch 3568.diffSplinter Review
Instead of: 18:13:49 INFO - Running main action method: update_apk_description 18:13:51 INFO - Updating org.mozilla.firefox for 'sl' / title: 'Firefox za Android', short_desc: 'Mi izdelujemo Firefo'..., long_desc: 'Mi izdelujemo Firefo...' 18:13:55 INFO - Edit "00377195244275974873" has been committed. It now shows: 18:13:49 INFO - Running main action method: update_apk_description 18:13:51 INFO - Updating org.mozilla.firefox for 'sl' / title: 'Firefox za Android', short_desc: 'Mi izdelujemo Firefo'..., long_desc: 'Mi izdelujemo Firefo...' 18:13:55 INFO - Edit "00377195244275974873" has been committed. 1 locale(s) updated.
Attachment #8550909 - Flags: review?(bhearsum)
Comment on attachment 8550909 [details] [diff] [review] 3568.diff Review of attachment 8550909 [details] [diff] [review]: ----------------------------------------------------------------- ::: scripts/update_apk_description.py @@ +187,5 @@ > editId=edit_id, packageName=package_name, language=locale, > body={'fullDescription': long_desc, > 'shortDescription': short_desc, > 'title': title}).execute() > + nb_locales = nb_locales + 1 Python doesn't have ++, but it has +=. You can use that if you want, but this is totally fine too.
Attachment #8550909 - Flags: review?(bhearsum) → review+
And it is working. Thanks
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: