remove deprecated string module usage, apparently string was never imported so I...
authorantarus <antarus@gentoo.org>
Sun, 1 Apr 2007 04:22:28 +0000 (04:22 -0000)
committerantarus <antarus@gentoo.org>
Sun, 1 Apr 2007 04:22:28 +0000 (04:22 -0000)
svn path=/; revision=375

trunk/src/gentoolkit/package.py

index 480467bb26f8a04f2695b6629e07d4296fcd79aa..33198606fb733ac734c0128437d8a92f81b75ac2 100644 (file)
@@ -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,...."""