diff options
| author | antarus <antarus@gentoo.org> | 2007-04-01 04:18:10 +0000 |
|---|---|---|
| committer | antarus <antarus@gentoo.org> | 2007-04-01 04:18:10 +0000 |
| commit | d04dd670e5794cae04036a65b349e7ee398fffb3 (patch) | |
| tree | 7431168eec4c68921d638f4b05aee6cba3106c87 /trunk/src/genpkgindex | |
| parent | 4e4e93f11df631abf851acc79b710d6de5dabe9f (diff) | |
| download | gentoolkit-d04dd670e5794cae04036a65b349e7ee398fffb3.tar.gz | |
Remove outdated string usage, import syntax
svn path=/; revision=372
Diffstat (limited to 'trunk/src/genpkgindex')
| -rw-r--r-- | trunk/src/genpkgindex/genpkgindex | 12 |
1 files 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) |
