~jincreator/ubuntu/precise/language-selector/korean

« back to all changes in this revision

Viewing changes to language_support_pkgs.py

  • Committer: Martin Pitt
  • Date: 2012-02-06 11:03:13 UTC
  • Revision ID: martin.pitt@canonical.com-20120206110313-6p7q5ri07kdkmx5k
* tests/test_language_support_pkgs.py: Fix test case for a package which is
  not a pattern, but a full name ("chromium-browser-l10n").
* language_support_pkgs.py: Also consider the pattern itself a package name.
  Fixes installation of chromium-browser-l10n and poppler-data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
        except ValueError:
189
189
            lang = locale
190
190
 
191
 
        pkgs = ['%s%s' % (pattern, lang)]
 
191
        pkgs = [pattern,
 
192
                '%s%s' % (pattern, lang)]
192
193
 
193
194
        if country:
194
195
            pkgs.append('%s%s%s' % (pattern, lang, country))