From: antarus Date: Sun, 1 Apr 2007 04:18:10 +0000 (-0000) Subject: Remove outdated string usage, import syntax X-Git-Tag: gentoolkit-0.2.4.3~141 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d04dd670e5794cae04036a65b349e7ee398fffb3;p=gentoolkit.git Remove outdated string usage, import syntax svn path=/; revision=372 --- diff --git a/trunk/src/genpkgindex/genpkgindex b/trunk/src/genpkgindex/genpkgindex index 1777301..ffbc6c2 100644 --- a/trunk/src/genpkgindex/genpkgindex +++ b/trunk/src/genpkgindex/genpkgindex @@ -2,14 +2,22 @@ # Copyright 2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -import os, string, stat, sys, time +import os +import stat +import sys +import time if getattr(__builtins__, "set", None) is None: from sets import Set as set for x in ['CFLAGS','CXXFLAGS', 'LDFLAGS','USE']: os.environ[x]='' -import xpak, portage, portage_checksum, portage_dep, portage_util, portage_const +import xpak +import portage +import portage_checksum +import portage_dep +import portage_util +import portage_const argc=len(sys.argv)