~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/scripts/translations_to_branch.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:
35
35
    SLAVE_FLAVOR,
36
36
    )
37
37
from lp.app.enums import ServiceUsage
38
 
# Load the normal plugin set.
 
38
# Load the normal plugin set. Lint complains but keep this in.
39
39
import lp.codehosting
40
40
from lp.code.errors import StaleLastMirrored
41
41
from lp.code.interfaces.branch import get_db_branch_info
337
337
        productseries = self.store.using(product_join).find(
338
338
            ProductSeries,
339
339
            And(
340
 
                Product._translations_usage == ServiceUsage.LAUNCHPAD,
 
340
                Product.translations_usage == ServiceUsage.LAUNCHPAD,
341
341
                ProductSeries.translations_branch != None))
342
342
 
343
343
        # Anything deterministic will do, and even that is only for