Fixed bug in params method returning after first iteration in loop
This commit is contained in:
parent
5a1f405993
commit
5ab3ba221d
|
@ -69,7 +69,7 @@ class ApcUrl(object):
|
||||||
if wrapped_param in temp_url:
|
if wrapped_param in temp_url:
|
||||||
temp_url = temp_url.replace(wrapped_param, v)
|
temp_url = temp_url.replace(wrapped_param, v)
|
||||||
else: raise UrlBadParam(self.base_url, k)
|
else: raise UrlBadParam(self.base_url, k)
|
||||||
return ApcUrl(temp_url)
|
return ApcUrl(temp_url)
|
||||||
|
|
||||||
def url(self):
|
def url(self):
|
||||||
if '%%' in self.base_url: raise IncompleteUrl(self.base_url)
|
if '%%' in self.base_url: raise IncompleteUrl(self.base_url)
|
||||||
|
|
Loading…
Reference in New Issue