~harlowja/cloud-init/tox-venvs

Viewing all changes in revision 933.

  • Committer: Scott Moser
  • Date: 2014-01-25 03:31:28 UTC
  • Revision ID: smoser@ubuntu.com-20140125033128-jcd1eev048znm2xk
read_file_or_url: raise UrlError with 404 on ENOENT

This makes it easier to call read_file_or_url and handle file or url
errors.  Now read_file_or_url will raise a UrlError in either case
on errors.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: