~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/launchpadform.py

  • Committer: Curtis Hovey
  • Date: 2011-07-15 15:46:51 UTC
  • mto: This revision was merged to the branch mainline in revision 13449.
  • Revision ID: curtis.hovey@canonical.com-20110715154651-eahw01tqq6z60mnk
Removed code and tools that think windmill is still a test layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
503
503
        if referrer is None:
504
504
            # "referer" is misspelled in the HTTP specification.
505
505
            referrer = self.request.getHeader('referer')
506
 
            # Windmill doesn't pass in a correct referer.
507
 
            if (referrer is not None
508
 
                and '/windmill-serv/remote.html' in referrer):
509
 
                referrer = None
510
506
        else:
511
507
            attribute_name = self.request.form.get('_return_attribute_name')
512
508
            attribute_value = self.request.form.get('_return_attribute_value')