← Back to team overview

zeitgeist team mailing list archive

[Bug 580372] Re: Event.new_for_values() does not check arguments

 

Here is the merge request
https://code.edge.launchpad.net/~zeitgeist/zeitgeist/timerange_and_event_value_fix/+merge/32574

** Changed in: zeitgeist
       Status: Triaged => Fix Committed

-- 
Event.new_for_values() does not check arguments
https://bugs.launchpad.net/bugs/580372
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Fix Committed

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', '', '', ''], [], ''])





References