You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/10/31 20:34:37 UTC
[couchdb] 08/17: use string for w value
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 211-update-2
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 09520c82e8555c3eb658f1d983d2bdbfe3cfa578
Author: Tony Sun <to...@gmail.com>
AuthorDate: Thu Oct 26 18:13:23 2017 -0700
use string for w value
---
src/mango/test/mango.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mango/test/mango.py b/src/mango/test/mango.py
index 27949c4..1ed2a2c 100644
--- a/src/mango/test/mango.py
+++ b/src/mango/test/mango.py
@@ -166,7 +166,7 @@ class Database(object):
def delete_index(self, ddocid, name, idx_type="json"):
path = ["_index", ddocid, idx_type, name]
- r = self.sess.delete(self.path(path), params={"w": 1})
+ r = self.sess.delete(self.path(path), params={"w": "1"})
r.raise_for_status()
def bulk_delete(self, docs):
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.