server/sources/storages.py
branchstable
changeset 5549 ab3a69a34626
parent 5426 0d4853a6e5ee
child 5576 08c6d4d6c50c
child 5599 be94157bd754
--- a/server/sources/storages.py	Thu May 20 10:40:55 2010 +0200
+++ b/server/sources/storages.py	Thu May 20 10:40:33 2010 +0200
@@ -82,7 +82,7 @@
 
     XXX subject to race condition.
     """
-    path = osp.join(dirpath, basename)
+    path = osp.join(dirpath, basename.replace(osp.sep, '-'))
     if not osp.isfile(path):
         return path
     base, ext = osp.splitext(path)