~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/sourcepackage.py

  • Committer: Curtis Hovey
  • Date: 2011-12-23 23:24:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14599.
  • Revision ID: curtis.hovey@canonical.com-20111223232428-2pv1ftduchr57ghw
Extracted language helpers to lp.services.worlddata.helpers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    SimpleVocabulary,
56
56
    )
57
57
 
58
 
from canonical.launchpad import (
59
 
    _,
60
 
    helpers,
61
 
    )
 
58
from canonical.launchpad import _
62
59
from canonical.launchpad.webapp import (
63
60
    ApplicationMenu,
64
61
    canonical_url,
95
92
from lp.registry.interfaces.productseries import IProductSeries
96
93
from lp.registry.interfaces.series import SeriesStatus
97
94
from lp.registry.interfaces.sourcepackage import ISourcePackage
 
95
from lp.services.worlddata.helpers import browser_languages
98
96
from lp.services.worlddata.interfaces.country import ICountry
99
97
from lp.soyuz.browser.packagerelationship import relationship_builder
100
98
from lp.translations.interfaces.potemplate import IPOTemplateSet
543
541
        return ICountry(self.request, None)
544
542
 
545
543
    def browserLanguages(self):
546
 
        return helpers.browserLanguages(self.request)
 
544
        return browser_languages(self.request)
547
545
 
548
546
    @property
549
547
    def potemplates(self):