~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remotebranch.py

  • Committer: Aaron Bentley
  • Date: 2005-09-12 16:33:28 UTC
  • mto: (1185.1.16)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: abentley@panoramicfeedback.com-20050912163328-8cd13823e289d44f
Narrowed exception handling for remote file retrieval

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
        p = self._path(fileid)
185
185
        try:
186
186
            return get_url(p, compressed=True)
187
 
        except:
 
187
        except urllib2.URLError:
188
188
            raise KeyError(fileid)
189
189
    
190
190