aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscarabeus <scarabeus@gentoo.org>2010-11-19 10:53:20 +0000
committerscarabeus <scarabeus@gentoo.org>2010-11-19 10:53:20 +0000
commit1ca0681d6d31825dbf9b3fa21469158566728429 (patch)
tree36ceea0806e81eb7647deb8a77144819c99b8faf
parentRemove unused variable. (diff)
downloadgentoolkit-1ca0681d6d31825dbf9b3fa21469158566728429.tar.gz
gentoolkit-1ca0681d6d31825dbf9b3fa21469158566728429.tar.bz2
gentoolkit-1ca0681d6d31825dbf9b3fa21469158566728429.zip
Revert: Use join() rather than string printing.
svn path=/trunk/gentoolkit/; revision=857
-rw-r--r--pym/gentoolkit/eshowkw/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py
index b93b274..cb957a3 100644
--- a/pym/gentoolkit/eshowkw/__init__.py
+++ b/pym/gentoolkit/eshowkw/__init__.py
@@ -118,9 +118,9 @@ def main(argv, indirect = False):
if len(ebuilds) <= 0:
msg_err = 'No ebuilds at "%s"' % currdir
raise SystemExit(msg_err)
- package= '/'.join(os.path.basename(os.path.abspath('../')), os.path.basename(currdir))
+ package= '%s/%s' % (os.path.basename(os.path.abspath('../')), os.path.basename(currdir))
ourtree = os.path.abspath('../../')
- overlays = ' '.join(ports['PORTDIR_OVERLAY'], ourtree)
+ overlays = '%s %s' % (ports['PORTDIR_OVERLAY'], ourtree)
mysettings = portc(env={'PORTDIR_OVERLAY': overlays})
dbapi = portdbapi(mysettings=mysettings)
# specify that we want just our nice tree we are in cwd