Merge lp:~seb128/langpack-o-matic/import-extra-log into lp:langpack-o-matic

Proposed by Sebastien Bacher
Status: Merged
Merged at revision: 595
Proposed branch: lp:~seb128/langpack-o-matic/import-extra-log
Merge into: lp:langpack-o-matic
Diff against target: 26 lines (+3/-0)
1 file modified
import (+3/-0)
To merge this branch: bzr merge lp:~seb128/langpack-o-matic/import-extra-log
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Ubuntu language pack builders Pending
Review via email: mp+410543@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'import'
--- import 2020-03-20 10:34:38 +0000
+++ import 2021-10-20 14:53:05 +0000
@@ -240,6 +240,7 @@
240 except KeyError:240 except KeyError:
241 logging.warning('unknown translation domain: %s', domain)241 logging.warning('unknown translation domain: %s', domain)
242 return242 return
243 logging.debug('The domain is classified as %s', cls)
243244
244 if cls == 'kde' and release_version >= '12.10':245 if cls == 'kde' and release_version >= '12.10':
245 logging.debug('Skipping KDE language pack for release %s', release)246 logging.debug('Skipping KDE language pack for release %s', release)
@@ -505,6 +506,7 @@
505 try:506 try:
506 get_translatable_counts(release) # need pot_priority for updates, too!507 get_translatable_counts(release) # need pot_priority for updates, too!
507 except ValueError:508 except ValueError:
509 logging.warning('Translations stats missing for %s', release)
508 # hack until http://people.canonical.com/~people-l10n/data/ubuntu-l10n/ exists510 # hack until http://people.canonical.com/~people-l10n/data/ubuntu-l10n/ exists
509 # for RTM 15.04511 # for RTM 15.04
510 orig_distribution = distribution512 orig_distribution = distribution
@@ -535,6 +537,7 @@
535 valid_locale = {}537 valid_locale = {}
536 for root, dirs, files in os.walk(content_dir):538 for root, dirs, files in os.walk(content_dir):
537 for f in files:539 for f in files:
540 logging.debug('Considering %s', f)
538 if not f.endswith('.po'):541 if not f.endswith('.po'):
539 continue542 continue
540543

Subscribers

People subscribed via source and target branches