Fixed bug in params method returning after first iteration in loop

This commit is contained in:
Rudi Grinberg 2012-10-29 22:19:16 -04:00
parent 5a1f405993
commit 5ab3ba221d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ApcUrl(object):
if wrapped_param in temp_url:
temp_url = temp_url.replace(wrapped_param, v)
else: raise UrlBadParam(self.base_url, k)
return ApcUrl(temp_url)
return ApcUrl(temp_url)
def url(self):
if '%%' in self.base_url: raise IncompleteUrl(self.base_url)