diff --git a/ubuntutools/archive.py b/ubuntutools/archive.py index a0dd0a6..b3822da 100644 --- a/ubuntutools/archive.py +++ b/ubuntutools/archive.py @@ -303,8 +303,7 @@ class SourcePackage(object): except urllib2.URLError, e: Logger.normal('URL Error: %s', e.reason) else: - return False - return True + raise DownloadError('File %s could not be found' % name) def unpack(self, destdir=None): "Unpack in workdir"