~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-23 21:13:36 UTC
  • mfrom: (13278.1.10 memlimit-sendbranchmail)
  • Revision ID: launchpad@pqm.canonical.com-20110623211336-m6m7q2r3exb4lsyh
[r=allenap][bug=585126] Memory-limit branch mail jobs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
    @staticmethod
54
54
    def _register_subclass(cls):
 
55
        # Why not a classmethod?  See RegisteredSubclass.__init__.
55
56
        PackagingJobDerived._register_subclass(cls)
56
57
        job_type = getattr(cls, 'class_job_type', None)
57
58
        if job_type is not None: