configure and build command: fix the stop iteration semantics
- broke somewhere betweenbdf4832269
(#2810) and17b13b161b
This commit is contained in:
parent
de2cb864fa
commit
cd511791d1
@ -553,6 +553,11 @@ def child_execution(child_connection, input_stream):
|
|||||||
setup_package(pkg, dirty=dirty)
|
setup_package(pkg, dirty=dirty)
|
||||||
function(input_stream)
|
function(input_stream)
|
||||||
child_connection.send(None)
|
child_connection.send(None)
|
||||||
|
except StopIteration as e:
|
||||||
|
# StopIteration is used to stop installations
|
||||||
|
# before the final stage, mainly for debug purposes
|
||||||
|
tty.msg(e.message)
|
||||||
|
child_connection.send(None)
|
||||||
except:
|
except:
|
||||||
# catch ANYTHING that goes wrong in the child process
|
# catch ANYTHING that goes wrong in the child process
|
||||||
exc_type, exc, tb = sys.exc_info()
|
exc_type, exc, tb = sys.exc_info()
|
||||||
|
Loading…
Reference in New Issue
Block a user