Change note to fatal calls in the oebuild fetch exception handling, since the do_...
authorChris Larson <clarson@kergoth.com>
Mon, 9 Jun 2003 20:25:50 +0000 (20:25 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 9 Jun 2003 20:25:50 +0000 (20:25 +0000)
bin/oebuild

index f5e86ec..cd345f9 100644 (file)
@@ -144,21 +144,21 @@ def do_fetch():
                try:
                        grabber.init(getenv('SRC_URI').split())
                except oefetch.NoMethodError:
-                       note("No method for one or more urls in SRC_URI")
+                       fatal("No method for one or more urls in SRC_URI")
                        return
 
                try:
                        grabber.go()
                except oefetch.MissingParameterError:
-                       note("Fetch failed due to missing parameters in the supplied urls")
+                       fatal("Fetch failed due to missing parameters in the supplied urls")
                        return
                except oefetch.FetchError:
-                       note("Fetch failed")
+                       fatal("Fetch failed")
                        return
 
                mkstamp('source')
        else:
-               note("No SRC_URI variable, not downloading anything")
+               fatal("No SRC_URI variable, not downloading anything")
 
 
 #######################################################################