Last change
on this file since 14:0a6affee82cd was 4:14b2a12d495e, checked in by Francisco de Borja Lopez Rio <borja@…>, 13 years ago |
Fixed some bugs in the code that was doing the de-serialization of data from
json-encoded files.
One of the bugs raised an exception complaining about the Member, MailingList
and JsonStorage classes not being found when de-serializing objects that
contain instances of such classes in their attributes. I fixed it adding some
imports to the init.py file within the postman/ module
The other bug was causing an infinite loop that was triggering a RuntimeError
(maximum recursion depth exceeded) when de-serializing MailingList instances
(a call to the .load() method in the init method of the MailingList class
was causing it)
|
File size:
96 bytes
|
Line | |
---|
1 | # -*- coding: utf-8 -*-
|
---|
2 |
|
---|
3 | from models import Member, MailingList
|
---|
4 | from storage import JsonStorage
|
---|
Note:
See
TracBrowser
for help on using the repository browser.