Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1609 closed defect (invalid)

Typo in db/models/

Reported by:… Owned by: adrian
Component: Database layer (models, ORM) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Typo at line 260 of db/models/ :

-    def values(self, *fields):
+    def values(self, fields):

Attachments (1)

query_typo.diff (481 bytes) - added by… 10 years ago.
Simple typo patch

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by…

Simple typo patch

comment:1 Changed 10 years ago by adrian

  • Resolution set to invalid
  • Status changed from new to closed

That's not a typo. It designates that an arbitrary number of positional arguments are allowed.

comment:2 Changed 10 years ago by gael

hum ok sorry about that.. so the syntax has changed in the magic branch,
xxx.values('id',) instead of xx.get_values(fields=id?) ?

comment:3 Changed 10 years ago by adrian

Yes, that's changed exactly as you've described.

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