Django

Code

Ticket #6147 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

Typo in db/__init__.py::_import_database_module()

Reported by: guido@python.org Assigned to: nobody
Milestone: Component: Database layer (models, ORM)
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The argument is named import_path, but the variable used in the body is _import_path. This makes the argument unused, which makes me think it's a bug. :-)

Attachments

db_init.diff (0.6 kB) - added by guido@python.org on 12/06/07 17:07:27.
Patch

Change History

12/06/07 17:07:27 changed by guido@python.org

  • attachment db_init.diff added.

Patch

12/07/07 18:49:38 changed by Simon G <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

12/09/07 04:18:56 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [6903]) Fixed #6147 -- Typo fix (that amazingly didn't stop the code working) in the code for loading a database module. Thanks, guido@python.org.


Add/Change #6147 (Typo in db/__init__.py::_import_database_module())




Change Properties
Action