From: Lukasz Kosewski Date: Sun, 10 Jan 2010 09:15:07 +0000 (-0500) Subject: client.py: Windows files don't support ':', so rename cachedir. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5886830fb5091139b9ab31e6db5e6eae538fcd9e;p=packages%2Fb%2Fbup.git client.py: Windows files don't support ':', so rename cachedir. Cachedir was previously $host:$dir, and is now $host-$dir. --- diff --git a/client.py b/client.py index c8e0818..6a373eb 100644 --- a/client.py +++ b/client.py @@ -40,7 +40,7 @@ class Client: (self.host, self.dir) = (host, dir) self.cachedir = git.repo('index-cache/%s' % re.sub(r'[^@:\w]', '_', - "%s:%s" % (host, dir))) + "%s-%s" % (host, dir))) try: self.p = p = Popen(argv, stdin=PIPE, stdout=PIPE, preexec_fn=fixenv) except OSError, e: