diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-05-27 14:00:27 -0500 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-05-27 14:00:27 -0500 |
| commit | 9df28d79e5df3eccbc9ba54c5c4fe425b67c78de (patch) | |
| tree | 96d5719c3b36bdf17811688839fd51741f53c4ca | |
| parent | 3dec3c1bd30a360c7e101e637e0e0fe2402d2de4 (diff) | |
| download | keystone-9df28d79e5df3eccbc9ba54c5c4fe425b67c78de.tar.gz keystone-9df28d79e5df3eccbc9ba54c5c4fe425b67c78de.tar.xz keystone-9df28d79e5df3eccbc9ba54c5c4fe425b67c78de.zip | |
Deal more intelligently with empty strings
| -rw-r--r-- | test/functional/simplerest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
