~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Jeroen Vermeulen
  • Date: 2011-09-19 06:57:55 UTC
  • mto: This revision was merged to the branch mainline in revision 13994.
  • Revision ID: jeroen.vermeulen@canonical.com-20110919065755-lgot1hi4xfqrf492
Lint.  Lots of lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
    'ProductReleaseView',
16
16
    ]
17
17
 
18
 
import cgi
19
18
import mimetypes
20
19
 
21
20
from lazr.restful.interface import copy_field
135
134
        # should not be targeted to a milestone in the past.
136
135
        if data.get('keep_milestone_active') is False:
137
136
            milestone.active = False
138
 
            milestone_link = '<a href="%s">%s milestone</a>' % (
139
 
                canonical_url(milestone), cgi.escape(milestone.name))
140
137
        self.next_url = canonical_url(newrelease.milestone)
141
138
        notify(ObjectCreatedEvent(newrelease))
142
139