All pastes #382057 Raw Edit

Diff

public text v1 · immutable
·published 2007-03-05 07:59 UTC
rendered paste body
Index: lib/bb/shell.py===================================================================--- lib/bb/shell.py	(revision 786)+++ lib/bb/shell.py	(working copy)@@ -145,6 +145,7 @@      def build( self, params, cmd = "build" ):         """Build a providee"""+        global last_exception         globexpr = params[0]         self._checkParsed()         names = globfilter( cooker.status.pkg_pn.keys(), globexpr )@@ -175,18 +176,15 @@          except Providers.NoProvider:             print "ERROR: No Provider"-            global last_exception             last_exception = Providers.NoProvider          except runqueue.TaskFailure, fnids:             for fnid in fnids:                 print "ERROR: '%s' failed" % td.fn_index[fnid]-            global last_exception             last_exception = runqueue.TaskFailure          except build.EventException, e:             print "ERROR: Couldn't build '%s'" % names-            global last_exception             last_exception = e          cooker.configuration.cmd = oldcmd