configure and build command: fix the stop iteration semantics
- broke somewhere betweenbdf4832269
(#2810) and17b13b161b
This commit is contained in:
parent
de2cb864fa
commit
cd511791d1
1 changed files with 5 additions and 0 deletions
|
@ -553,6 +553,11 @@ def child_execution(child_connection, input_stream):
|
|||
setup_package(pkg, dirty=dirty)
|
||||
function(input_stream)
|
||||
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:
|
||||
# catch ANYTHING that goes wrong in the child process
|
||||
exc_type, exc, tb = sys.exc_info()
|
||||
|
|
Loading…
Reference in a new issue