~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/projectgroup.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-23 18:45:37 UTC
  • mfrom: (13760.1.1 fix-some-utilities)
  • Revision ID: launchpad@pqm.canonical.com-20110823184537-z1zzbuue7jna2uin
[r=wgrant][no-qa] Fix up some utility interface/implementation
        mismatches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 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
377
377
        If the project can't be found a NotFoundError will be raised.
378
378
        """
379
379
 
380
 
    def getByName(name, default=None, ignore_inactive=False):
 
380
    def getByName(name, ignore_inactive=False):
381
381
        """Return the project with the given name, ignoring inactive projects
382
382
        if ignore_inactive is True.
383
383