From 63aee11b8947365734dbc279b91edac4f6582655 Mon Sep 17 00:00:00 2001 From: Mesut Tasci Date: Fri, 8 Nov 2013 14:57:18 +0200 Subject: [PATCH] remove leading slash from the name --- hammock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hammock.py b/hammock.py index f00a4d1..97d4063 100644 --- a/hammock.py +++ b/hammock.py @@ -35,6 +35,7 @@ def _spawn(self, name): """ child = copy.copy(self) child._name = name + child._name = child._name.strip('/') child._parent = self return child