diff options
| author | antarus <antarus@gentoo.org> | 2007-04-01 04:22:28 +0000 |
|---|---|---|
| committer | antarus <antarus@gentoo.org> | 2007-04-01 04:22:28 +0000 |
| commit | 21b2e6a6d0f24aa7eeace04165db4976f0138dc8 (patch) | |
| tree | 0a87352d5de54d3e4d0a9d766f8265554f87e5ee /trunk | |
| parent | 629c46773022444a00f14c03e6013d4c11532203 (diff) | |
| download | gentoolkit-21b2e6a6d0f24aa7eeace04165db4976f0138dc8.tar.gz | |
remove deprecated string module usage, apparently string was never imported so I have no idea how this worked before :P
svn path=/; revision=375
Diffstat (limited to 'trunk')
| -rw-r--r-- | trunk/src/gentoolkit/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
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,....""" |
