~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/interfaces/translationimportqueue.py

Merged db-devel into replication.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0211,E0213
97
97
# Period after which entries with certain statuses are culled from the
98
98
# queue.
99
99
translation_import_queue_entry_age = {
 
100
    RosettaImportStatus.APPROVED: timedelta(days=DAYS_IN_HALF_YEAR),
100
101
    RosettaImportStatus.DELETED: timedelta(days=3),
101
102
    RosettaImportStatus.FAILED: timedelta(days=DAYS_IN_MONTH),
102
103
    RosettaImportStatus.IMPORTED: timedelta(days=3),