projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629c467
)
remove deprecated string module usage, apparently string was never imported so I...
author
antarus
<antarus@gentoo.org>
Sun, 1 Apr 2007 04:22:28 +0000
(
04:22
-0000)
committer
antarus
<antarus@gentoo.org>
Sun, 1 Apr 2007 04:22:28 +0000
(
04:22
-0000)
svn path=/; revision=375
trunk/src/gentoolkit/package.py
patch
|
blob
|
history
diff --git
a/trunk/src/gentoolkit/package.py
b/trunk/src/gentoolkit/package.py
index 480467bb26f8a04f2695b6629e07d4296fcd79aa..33198606fb733ac734c0128437d8a92f81b75ac2 100644
(file)
--- 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,...."""