summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlorry3
1 files changed, 2 insertions, 1 deletions
diff --git a/lorry b/lorry
index cbd41ae..1f0580a 100755
--- a/lorry
+++ b/lorry
@@ -413,8 +413,9 @@ class Lorry(cliapp.Application):
return ''.join(' %s\n' % line for line in string.splitlines())
def dirname(self, project_name):
- assert '/' not in project_name
assert '\0' not in project_name
+ # We escape slashes as underscores.
+ project_name = '_'.join(project_name.split('/'))
return os.path.join(self.settings['working-area'], project_name)
def progress(self, msg):