~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/distributionsourcepackage.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-05 01:16:46 UTC
  • mfrom: (14628.1.2 js-client-link)
  • Revision ID: launchpad@pqm.canonical.com-20120105011646-dlhd7oqm9pui6yk1
[r=benji][bug=911973] Set lp_original_uri properly for objects
        returned by named_get and named_post that have a self_link.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2010 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
__metaclass__ = type
39
39
    QuestionTargetTraversalMixin,
40
40
    )
41
41
from lp.answers.enums import QuestionStatus
42
 
from lp.app.browser.launchpadform import (
43
 
    action,
44
 
    LaunchpadEditFormView,
45
 
    )
46
42
from lp.app.browser.stringformatter import (
47
43
    extract_bug_numbers,
48
44
    extract_email_addresses,
68
64
from lp.services.helpers import shortlist
69
65
from lp.services.propertycache import cachedproperty
70
66
from lp.services.webapp import (
 
67
    action,
71
68
    canonical_url,
 
69
    LaunchpadEditFormView,
 
70
    LaunchpadView,
72
71
    Navigation,
73
72
    redirection,
74
73
    StandardLaunchpadFacets,
81
80
    Link,
82
81
    NavigationMenu,
83
82
    )
84
 
from lp.services.webapp.publisher import LaunchpadView
85
83
from lp.services.webapp.sorting import sorted_dotted_numbers
86
84
from lp.soyuz.browser.sourcepackagerelease import linkify_changelog
87
85
from lp.soyuz.interfaces.archive import IArchiveSet