Event.new_for_values() does not check arguments

Bug #580372 reported by Markus Korn on 2010-05-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Medium
Seif Lotfy

Bug Description

Something like

>>> event = Event.new_for_values(boo=234234)

should raise a TypeError (or ValueError) instead of creating an Event which make no sense:

>>> print event
Event([['', '1273824118015', '', '', ''], [], ''])

Related branches

Markus Korn (thekorn) on 2010-05-14
summary: - Event.new_for_values() does not chec arguments
+ Event.new_for_values() does not check arguments
Seif Lotfy (seif) on 2010-08-13
Changed in zeitgeist:
assignee: nobody → Seif Lotfy (seif)
status: New → Triaged
importance: Undecided → Medium
Seif Lotfy (seif) wrote :
Changed in zeitgeist:
status: Triaged → Fix Committed
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers