commit:     6d04afd772c29d4201d929031b7e190086502d1f
Author:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Thu Jan 22 08:03:06 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 22 19:06:28 2026 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=6d04afd7

eclean/clean.py: pyflakes cleanup

Signed-off-by: Brian Dolbec <brian.dolbec <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoolkit/pull/60
Signed-off-by: Sam James <sam <AT> gentoo.org>

 pym/gentoolkit/eclean/clean.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pym/gentoolkit/eclean/clean.py b/pym/gentoolkit/eclean/clean.py
index b5323ed..18f90ef 100644
--- a/pym/gentoolkit/eclean/clean.py
+++ b/pym/gentoolkit/eclean/clean.py
@@ -9,7 +9,6 @@ import shutil
 import sys
 
 import gentoolkit.pprinter as pp
-import portage
 from portage.emaint.main import TaskHandler
 from portage.emaint.modules.binhost import binhost
 
@@ -36,7 +35,6 @@ class CleanUp:
         @rtype: int
         @return: total size that was cleaned
         """
-        file_type = "file"
         clean_size = 0
         # clean all entries one by one; sorting helps reading
         for key in sorted(clean_dict):
@@ -57,7 +55,6 @@ class CleanUp:
         @rtype: int
         @return: total size that was cleaned
         """
-        file_type = "binary package"
         clean_size = 0
         # clean all entries one by one; sorting helps reading
         for location, loc_clean_dict in clean_dict.items():

Reply via email to