From 21b2e6a6d0f24aa7eeace04165db4976f0138dc8 Mon Sep 17 00:00:00 2001 From: antarus Date: Sun, 1 Apr 2007 04:22:28 +0000 Subject: [PATCH] remove deprecated string module usage, apparently string was never imported so I have no idea how this worked before :P svn path=/; revision=375 --- trunk/src/gentoolkit/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,....""" -- 2.26.2