On Wed, 2007-01-24 at 16:00 +0100, Thomas Springer wrote:
> Got that when hitting Ctrl-D('oh) instead of 'N'.
> 
> Transaction Summary
> ================================================================
> Install      1 Package(s)         
> Update       0 Package(s)         
> Remove       0 Package(s)         
> Total download size: 1.2 M
> Is this ok [y/N]: Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 175, in main
>     base.doTransaction()
>   File "/usr/share/yum-cli/cli.py", line 655, in doTransaction
>     if not self.userconfirm():
>   File "/usr/share/yum-cli/output.py", line 117, in userconfirm
>     choice = raw_input('Is this ok [y/N]: ')
> EOFError
> 


> Should this be fixed?: y
cute. :)


we can catch EOFError in the exception and have it exit more gracefully
but do you have suggestions on what more-correct behavior should be?

-sv



_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to