Merge lp:~james-w/udd/storm-fixes into lp:udd
Proposed by
James Westby
on 2012-04-04
| Status: | Merged |
|---|---|
| Approved by: | Jonathan Lange on 2012-04-04 |
| Approved revision: | 569 |
| Merged at revision: | 568 |
| Proposed branch: | lp:~james-w/udd/storm-fixes |
| Merge into: | lp:udd |
| Diff against target: |
93 lines (+48/-2) 4 files modified
selftest.py (+1/-0) udd/icommon.py (+5/-2) udd/tests/test_history_database.py (+33/-0) udd/tests/test_status_database.py (+9/-0) |
| To merge this branch: | bzr merge lp:~james-w/udd/storm-fixes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jonathan Lange (community) | 2012-04-04 | Approve on 2012-04-04 | |
|
Review via email:
|
|||
Commit Message
Ensure that storm is returning datetime objects for timestamps.
Description of the Change
Hi,
This adds a couple more storm compatibility fixes related to datetimes.
We have to manually coerce the unicode return type to a datetime for some
reason, and while doing so we have to be careful about dealing with
data inserted by sqlite3 that doesn't have any microseconds.
Thanks,
James
To post a comment you must log in.

I like. Thanks for tracking this down.