libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [09/14] git commit: Modify Connection.request so it works correctly if 'params' value is a sequence.
Date Sat, 15 Jun 2013 06:28:19 GMT
Modify Connection.request so it works correctly if 'params' value is a sequence.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/fa1a5314
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/fa1a5314
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/fa1a5314

Branch: refs/heads/0.12.x
Commit: fa1a5314c5bb9c2fba4cdfa720cd7b68199d74d7
Parents: b463c62
Author: Tomaz Muraus <tomaz@tomaz.me>
Authored: Fri Jun 14 22:16:02 2013 -0700
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jun 14 23:21:52 2013 -0700

----------------------------------------------------------------------
 libcloud/common/base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/fa1a5314/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index a1a6c42..a5d2a49 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -603,9 +603,9 @@ class Connection(object):
 
         if params:
             if '?' in action:
-                url = '&'.join((action, urlencode(params)))
+                url = '&'.join((action, urlencode(params, doseq=True)))
             else:
-                url = '?'.join((action, urlencode(params)))
+                url = '?'.join((action, urlencode(params, doseq=True)))
         else:
             url = action
 


Mime
View raw message