Explorar el Código

Fixed #20159 -- Mispelled attribute in multi-db documentation example.

Thanks to sane4ka.sh at gmail for the report!
Simon Charette hace 12 años
padre
commit
6293eaa062
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/topics/db/multi-db.txt

+ 1 - 1
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