running eclean-kernel -ap results in python error Reproducible: Always Steps to Reproduce: 1.eclean-kernel -ap 2. 3. Actual Results: HP ~ # eclean-kernel -ap Traceback (most recent call last): File "/usr/bin/eclean-kernel-2.7", line 26, in <module> sys.exit(main(sys.argv)) File "/usr/lib64/python2.7/site-packages/ecleankernel/cli.py", line 113, in main debug = debug) File "/usr/lib64/python2.7/site-packages/ecleankernel/bootloader/__init__.py", line 21, in get_bootloader if e.errno != errno.ENOENT: NameError: global name 'errno' is not defined Expected Results: list of kernel elements that could be cleaned or message stating all is well Sorry to do this to you again Michal, I have 6 boxes exhibiting this behaviour since upgrading to 0.2. eclean-kernel -l works fine, but -ap throws an error. Do you need additional info?
I can confirm this. It happens exactly the same way on my amd64 system.
Created attachment 294091 [details, diff] Patch to add the missing package Just adding "import errno" fixes the problem.
Sorry, it was a mistake when moving the code from one module to another. Fixed in 0.2.1.