~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http.py

  • Committer: Martin Pool
  • Date: 2006-03-03 09:56:52 UTC
  • mfrom: (1588 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060303095652-a0f4f293dad83a04
[merge] sync from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
            f.read()
179
179
            f.close()
180
180
            return True
181
 
        except urllib2.URLError, e:
 
181
        except urllib2.HTTPError, e:
182
182
            mutter('url error code: %s for has url: %r', e.code, path)
183
183
            if e.code == 404:
184
184
                return False