From d04dd670e5794cae04036a65b349e7ee398fffb3 Mon Sep 17 00:00:00 2001 From: antarus Date: Sun, 1 Apr 2007 04:18:10 +0000 Subject: [PATCH] Remove outdated string usage, import syntax svn path=/; revision=372 --- trunk/src/genpkgindex/genpkgindex | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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) -- 2.26.2