[releng] avoid more redirects by going to directories ending with /



commit 7a2e7b5a46767e718552221ee4096806e00d292e
Author: Olav Vitters <olav vitters nl>
Date:   Thu Jul 31 01:40:25 2014 +0200

    avoid more redirects by going to directories ending with /

 tools/smoketesting/convert-to-tarballs.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index f0d4e1b..1596d39 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -605,8 +605,8 @@ class TarballLocator:
             newdirs = map(fixdirs, newdirs)
             if newdirs:
                 newdir = self._get_latest_version(newdirs, max_version)
-                redirect_location = posixjoin(req.url, newdir)
-                location = posixjoin(location, newdir)
+                redirect_location = posixjoin(req.url, newdir, "")
+                location = posixjoin(location, newdir, "")
             else:
                 break
         return location, files


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]