Issue #4 resolved

Crash with --ask and Python 3

Niko Böckerman
created an issue

The question to confirm removal uses raw_input() which was changed to input() in Python3. I received this traceback:

# eclean-kernel -AD
* Trying bootloader lilo
* Trying bootloader grub2
** /boot/grub2/grub.cfg found
* In get_removal_list()
Traceback (most recent call last):
  File "/usr/bin/eclean-kernel-python3.2", line 26, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python3.2/site-packages/ecleankernel/cli.py", line 163, in main
    ans = raw_input('Remove %s (%s)? [Yes/No]'
NameError: global name 'raw_input' is not defined

Comments (3)

  1. Log in to comment