Ensure that the three standard file descriptors (stdin, stdout and stderr)
[zeroinstall.git] / zeroinstall / __init__.py
blob8c5fd22c621535e8a3d11a259acafa5d707fb08d
1 version = '0.17'
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)