libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [02/14] git commit: Modify Connection.request so it works correctly if 'params' value is a sequence.
Date Sat, 15 Jun 2013 06:28:12 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/8c4217a4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/8c4217a4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/8c4217a4

Branch: refs/heads/trunk
Commit: 8c4217a416025220e0a4839bdd79079822c71a74
Parents: 873c1ee
Author: Tomaz Muraus <tomaz@tomaz.me>
Authored: Fri Jun 14 22:16:02 2013 -0700
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Fri Jun 14 22:16:02 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8c4217a4/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index 4347e5e..7b8cf0d 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -583,9 +583,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