Allow * wildcard for os or machine in arch attributes.
[zeroinstall.git] / zeroinstall / __init__.py
blob42a8ad4714df4345b04b2af0d957662dc41be175
1 version = '0.16'
3 class SafeException(Exception):
4 """An exception that can be reported to the user without a stack
5 trace."""
7 class NeedDownload(SafeException):
8 """Thrown if we tried to start a download with allow_downloads = False"""
9 def __init__(self, url):
10 Exception.__init__(self, "Would download '%s'" % url)