]> err.no Git - dak/commit
Handle broken pipe while waiting for action
authorLuca Falavigna <dktrkranz@ries.debian.org>
Tue, 24 Nov 2009 07:36:27 +0000 (07:36 +0000)
committerLuca Falavigna <dktrkranz@ries.debian.org>
Tue, 24 Nov 2009 07:36:27 +0000 (07:36 +0000)
commit94465f743590cc9a5f58d1aebff2bfb75e023f5d
treed7cf82b46a504806e92f323a33da126f9edd75af
parent960d55b823f504336949d3b54c8b400d564ec4d2
Handle broken pipe while waiting for action

our_raw_input waits for action, but an exception is raised if user
does not provide it. Loop until a correct action is taken, this way
dak does not horribly crash each time.

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
daklib/utils.py