changeset 446:bee2e5f6cf8d

Ignore redundancy of trailing slashes while ensuring to have at least one.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 09 Aug 2010 13:56:31 +0000
parents e049599fde1a
children 1d16e4844f98
files treepkg/git.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/git.py	Mon Aug 09 12:25:41 2010 +0000
+++ b/treepkg/git.py	Mon Aug 09 13:56:31 2010 +0000
@@ -37,7 +37,7 @@
 
 def export(src, dest):
     """Exports the local branch from src to dest"""
-    dest = os.path.normpath(dest) + os.sep
+    dest = dest + os.sep
     run.call(cmdexpand("git checkout-index -a -f --prefix=$dest", **locals()),
              cwd=src)
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)