From: antarus Date: Sun, 1 Apr 2007 04:22:28 +0000 (-0000) Subject: remove deprecated string module usage, apparently string was never imported so I... X-Git-Tag: gentoolkit-0.2.4.3~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21b2e6a6d0f24aa7eeace04165db4976f0138dc8;p=gentoolkit.git remove deprecated string module usage, apparently string was never imported so I have no idea how this worked before :P svn path=/; revision=375 --- diff --git a/trunk/src/gentoolkit/package.py b/trunk/src/gentoolkit/package.py index 480467b..3319860 100644 --- a/trunk/src/gentoolkit/package.py +++ b/trunk/src/gentoolkit/package.py @@ -171,7 +171,7 @@ class Package: p = self.get_ebuild_path() sp = p.split("/") if len(sp): - return string.join(sp[:-1],"/") + return "/".join(sp[:-1]) def get_env_var(self, var, tree=""): """Returns one of the predefined env vars DEPEND, RDEPEND, SRC_URI,...."""