/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_urllib.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-10 17:16:19 UTC
  • mfrom: (4884 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4889.
  • Revision ID: john@arbash-meinel.com-20091210171619-ehdcxjbl8afhq9g1
Bring in bzr.dev 4884

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
            self._update_credentials((request.auth, request.proxy_auth))
88
88
 
89
89
        code = response.code
90
 
        if request.follow_redirections is False \
91
 
                and code in (301, 302, 303, 307):
 
90
        if (request.follow_redirections is False
 
91
            and code in (301, 302, 303, 307)):
92
92
            raise errors.RedirectRequested(request.get_full_url(),
93
93
                                           request.redirected_to,
94
94
                                           is_permanent=(code == 301))