From 6293eaa062db473a208c782f0e419314152a071e Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 29 Mar 2013 14:16:30 -0400 Subject: [PATCH] Fixed #20159 -- Mispelled attribute in multi-db documentation example. Thanks to sane4ka.sh at gmail for the report! --- docs/topics/db/multi-db.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt index ae23c3d9f3..182099cc3a 100644 --- a/docs/topics/db/multi-db.txt +++ b/docs/topics/db/multi-db.txt @@ -324,7 +324,7 @@ from:: in the master/slave pool. """ db_list = ('master', 'slave1', 'slave2') - if obj1.state.db in db_list and obj2.state.db in db_list: + if obj1._state.db in db_list and obj2._state.db in db_list: return True return None