Revert: Use join() rather than string printing.
authorscarabeus <scarabeus@gentoo.org>
Fri, 19 Nov 2010 10:53:20 +0000 (10:53 -0000)
committerscarabeus <scarabeus@gentoo.org>
Fri, 19 Nov 2010 10:53:20 +0000 (10:53 -0000)
svn path=/trunk/gentoolkit/; revision=857

pym/gentoolkit/eshowkw/__init__.py

index b93b274a348a5036e3197f4c04325712dd5c58ea..cb957a34109d6a374d8f5959e95ba2289b67e8da 100644 (file)
@@ -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