فهرست منبع

remove non sane chache path characters

Tobias Simetsreiter 5 سال پیش
والد
کامیت
aea9382efb
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      abe_setup.py

+ 2 - 1
abe_setup.py

@@ -51,7 +51,8 @@ def recurse_abe_submodules(path, remote, ref=None, func=None):
 def cache_path(cache, remote):
     import os.path
     for url in remote:
-        return os.path.join( cache, str(url).replace('/','_').replace( '@', '_at_'))
+        sane_url = str(url).replace('/','_').replace( '@', '_').replace(':', '_')
+        return os.path.join( cache, sane_url)
 
 def real_relpath(dest, source='.'):
     import os.path