From 9df28d79e5df3eccbc9ba54c5c4fe425b67c78de Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Fri, 27 May 2011 14:00:27 -0500 Subject: Deal more intelligently with empty strings --- test/functional/simplerest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/simplerest.py b/test/functional/simplerest.py index 5f7abef8..48438cd8 100644 --- a/test/functional/simplerest.py +++ b/test/functional/simplerest.py @@ -187,7 +187,7 @@ class RESTClient(object): """ # First, let's compose the path with the reluri - joincond = (self._path[-1], reluri[0]) + joincond = (self._path[-1:], reluri[:1]) if joincond == ('/', '/'): fulluri = self._path + reluri[1:] elif '/' in joincond: -- cgit