Opened 12 years ago

Closed 12 years ago

#20159 closed Cleanup/optimization (fixed)

misspeled attribute in example in Multiple databases doc section.

Reported by: sane4ka.sh@… Owned by: Simon Charette
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Misspelled non-public '_state' attribute of obj1 and obj2 in allow_relation method of class MasterSlaveRouter (example for Using routers section)
Should be
if obj1._state.db in db_list and obj2._state.db in db_list:
instead of
if obj1.state.db in db_list and obj2.state.db in db_list:

Change History (2)

comment:1 by Simon Charette, 12 years ago

Owner: changed from nobody to Simon Charette
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by Simon Charette <charette.s@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

In 6293eaa062db473a208c782f0e419314152a071e:

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

Thanks to sane4ka.sh at gmail for the report!

Note: See TracTickets for help on using tickets.
Back to Top