[Yum-devel] EOFError on user cancel

Thomas Springer th.springer at gmx.net
Wed Jan 24 15:00:22 UTC 2007


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


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 967 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070124/4cd5bec5/attachment.bin 


More information about the Yum-devel mailing list