Revision 423edf28 tools/lib/client.py
b/tools/lib/client.py | ||
---|---|---|
80 | 80 |
slash = '/' if self.api else '' |
81 | 81 |
full_path = '%s%s%s?format=%s' % (slash, self.api, quote(path), format) |
82 | 82 |
|
83 |
for k,v in params.items: |
|
83 |
for k,v in params.items():
|
|
84 | 84 |
if v: |
85 | 85 |
full_path = '%s&%s=%s' %(full_path, quote(k), quote(unicode(v))) |
86 | 86 |
else: |
Also available in: Unified diff