From f8f778e428869bbaedcc8879f97157e02fcfd37f Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Fri, 9 Sep 2005 16:48:54 +0000 Subject: [PATCH] Fix incompatability with portage 2.0.52. bug# 105382 svn path=/; revision=231 --- trunk/src/eclean/eclean | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/trunk/src/eclean/eclean b/trunk/src/eclean/eclean index eb56165..0b0b6ce 100644 --- a/trunk/src/eclean/eclean +++ b/trunk/src/eclean/eclean @@ -26,11 +26,7 @@ sys.path.insert(0,'/usr/lib/portage/pym') import portage from output import * -# Ignominous CVS / non-CVS compatibility hacks: -if portage.VERSION[:6] == '2.0.51': listdir = portage.listdir -# else, assume it's a reasonably recent CVS (or future 2.1) -else: from portage_file import listdir - +listdir = portage.listdir ############################################################################### # Misc. shortcuts to some portage stuff: -- 2.26.2