summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@torproject.org>2011-10-20 10:55:51 -0300
committerTomás Touceda <chiiph@torproject.org>2011-10-20 11:00:14 -0300
commit78e260013786d048589172a74dbe6288ef4edba6 (patch)
tree3c67a88c3d425905f4ec3c556173db290ddf06cd
parent53e9b2b3c0b10b3b0075da6acc59c032553813b7 (diff)
Paths inside a Thp cfg will use / from now on
-rw-r--r--lib/thandy/packagesys/ThpPackages.py4
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