summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-01-24 22:31:28 -0500
committerScott Moser <smoser@ubuntu.com>2014-01-24 22:31:28 -0500
commit0be4922d92e874b2e3300bdde65829cdb6569524 (patch)
treede85c8d5e002377023668b5b3b8c2525be652389 /tools
parent15ebe2a01c0bcdaae43054e0e3559871a99f72aa (diff)
downloadvyos-cloud-init-0be4922d92e874b2e3300bdde65829cdb6569524.tar.gz
vyos-cloud-init-0be4922d92e874b2e3300bdde65829cdb6569524.zip
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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions