~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/product.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:
205
205
    )
206
206
from lp.services.propertycache import cachedproperty
207
207
from lp.services.worlddata.interfaces.country import ICountry
208
 
from canonical.launchpad.helpers import browserLanguages
 
208
from lp.services.worlddata.helpers import browser_languages
209
209
from lp.translations.browser.customlanguagecode import (
210
210
    HasCustomLanguageCodesTraversalMixin,
211
211
    )
1121
1121
        return ICountry(self.request, None)
1122
1122
 
1123
1123
    def browserLanguages(self):
1124
 
        return browserLanguages(self.request)
 
1124
        return browser_languages(self.request)
1125
1125
 
1126
1126
    def getClosedBugsURL(self, series):
1127
1127
        status = [status.title for status in RESOLVED_BUGTASK_STATUSES]