From: fuzzyray Date: Fri, 9 Sep 2005 16:48:54 +0000 (-0000) Subject: Fix incompatability with portage 2.0.52. bug# 105382 X-Git-Tag: gentoolkit-0.2.4.3~282 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8f778e428869bbaedcc8879f97157e02fcfd37f;p=gentoolkit.git Fix incompatability with portage 2.0.52. bug# 105382 svn path=/; revision=231 --- 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: