jhbuild r1899 - in trunk: . jhbuild/versioncontrol
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r1899 - in trunk: . jhbuild/versioncontrol
- Date: Sat, 16 Feb 2008 09:56:31 +0000 (GMT)
Author: fpeters
Date: Sat Feb 16 09:56:31 2008
New Revision: 1899
URL: http://svn.gnome.org/viewvc/jhbuild?rev=1899&view=rev
Log:
2008-02-16 Frederic Peters <fpeters 0d be>
* jhbuild/versioncontrol/tarball.py: raise BuildStateError when
downloading patch fails.
Modified:
trunk/ChangeLog
trunk/jhbuild/versioncontrol/tarball.py
Modified: trunk/jhbuild/versioncontrol/tarball.py
==============================================================================
--- trunk/jhbuild/versioncontrol/tarball.py (original)
+++ trunk/jhbuild/versioncontrol/tarball.py Sat Feb 16 09:56:31 2008
@@ -196,10 +196,9 @@
try:
patchfile = httpcache.load(patch, nonetwork=buildscript.config.nonetwork)
except urllib2.HTTPError, e:
- return (self.STATE_CONFIGURE,
- 'could not download patch (error: %s)' % e.code, [])
+ raise BuildStateError('could not download patch (error: %s)' % e.code)
except urllib2.URLError, e:
- return (self.STATE_CONFIGURE, 'could not download patch', [])
+ raise BuildStateError('could not download patch')
elif self.repository.moduleset_uri:
# get it relative to the moduleset uri, either in the same
# directory or a patches/ subdirectory
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]