# HG changeset patch
# User Jeff Hammel <jhammel@mozilla.com>
# Date 1321398781 28800
# Node ID 45f7a0f80e6adcb766325ff84830517875101ff6
# Parent  7432e54750a380fce3b7fb4ce667f291077d7018
correctly call os.path.join

diff -r 7432e54750a3 -r 45f7a0f80e6a fetch.py
--- a/fetch.py	Tue Nov 15 15:10:36 2011 -0800
+++ b/fetch.py	Tue Nov 15 15:13:01 2011 -0800
@@ -191,7 +191,7 @@
             shutil.rmtree(os.path.join(tmpdir, self.vcs_dir))
         path = tmpdir
         if self.subpath:
-            path = os.path.join([tmpdir] + self.subpath)
+            path = os.path.join(*([tmpdir] + self.subpath))
             assert os.path.exists(path), "subpath %s of %s not found" % (os.path.sep.join(self.subpath), self.url)
         if os.path.isdir(path):
             if os.path.exists(dest):