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

[tor-commits] [thandy/master] Paths inside a Thp cfg will use / from now on



commit 78e260013786d048589172a74dbe6288ef4edba6
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Thu Oct 20 10:55:51 2011 -0300

    Paths inside a Thp cfg will use / from now on
---
 lib/thandy/packagesys/ThpPackages.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/thandy/packagesys/ThpPackages.py b/lib/thandy/packagesys/ThpPackages.py
index da76c6b..84e55c5 100644
--- a/lib/thandy/packagesys/ThpPackages.py
+++ b/lib/thandy/packagesys/ThpPackages.py
@@ -249,8 +249,8 @@ class ThpInstaller(PS.Installer):
               logging.info("Processing file: %s" % file)
               try:
                   # Create all the needed dirs
-                  os.makedirs(os.sep.join((os.path.join(destPath, file['name'])
-                    .split(os.path.sep)[:-1])))
+                  os.makedirs(os.path.join((os.path.join(destPath, file['name'])
+                    .split("/")[:-1])))
               except:
                   # Ignore if it already exists
                   pass



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits