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
1=== modified file 'import'
2--- import 2020-03-20 10:34:38 +0000
3+++ import 2021-10-20 14:53:05 +0000
4@@ -240,6 +240,7 @@
5 except KeyError:
6 logging.warning('unknown translation domain: %s', domain)
7 return
8+ logging.debug('The domain is classified as %s', cls)
9
10 if cls == 'kde' and release_version >= '12.10':
11 logging.debug('Skipping KDE language pack for release %s', release)
12@@ -505,6 +506,7 @@
13 try:
14 get_translatable_counts(release) # need pot_priority for updates, too!
15 except ValueError:
16+ logging.warning('Translations stats missing for %s', release)
17 # hack until http://people.canonical.com/~people-l10n/data/ubuntu-l10n/ exists
18 # for RTM 15.04
19 orig_distribution = distribution
20@@ -535,6 +537,7 @@
21 valid_locale = {}
22 for root, dirs, files in os.walk(content_dir):
23 for f in files:
24+ logging.debug('Considering %s', f)
25 if not f.endswith('.po'):
26 continue
27

Subscribers

People subscribed via source and target branches