~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/model/translationsperson.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-10-11 09:06:29 UTC
  • mfrom: (14120.2.8 bug-869089)
  • Revision ID: launchpad@pqm.canonical.com-20111011090629-2t5okp0ri4ow6yr0
[r=benji][bug=677532, 869089][incr] Good riddance to official_rosetta.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
        # translation focus.
279
279
        distrojoin_conditions = And(
280
280
            Distribution.id == DistroSeries.distributionID,
281
 
            Distribution._translations_usage == ServiceUsage.LAUNCHPAD,
 
281
            Distribution.translations_usage == ServiceUsage.LAUNCHPAD,
282
282
            Distribution.translation_focusID == DistroSeries.id)
283
283
 
284
284
        DistroJoin = LeftJoin(Distribution, distrojoin_conditions)
291
291
        # should be fixed to use translations_usage.
292
292
        ProductJoin = LeftJoin(Product, And(
293
293
            Product.id == ProductSeries.productID,
294
 
            Product._translations_usage == ServiceUsage.LAUNCHPAD,
 
294
            Product.translations_usage == ServiceUsage.LAUNCHPAD,
295
295
            Product.active == True))
296
296
 
297
297
        ProjectJoin = LeftJoin(