1 |
|
2002-08-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py (Saver): New class to handle serializing a |
4 |
|
session into an XML file. The main reason to introduce a class is |
5 |
|
that applications built on Thuban can derive from it so that they |
6 |
|
can save additional information in a session file. |
7 |
|
(save_session): Delegate almost all the work to the Saver class. |
8 |
|
Rename the filename argument to file because it may be a file like |
9 |
|
object now. |
10 |
|
|
11 |
|
* Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility |
12 |
|
code. Remove the little test code which would be executed when the |
13 |
|
module is run as a script which didn't work anymore since it can't |
14 |
|
import the other Thuban modules. |
15 |
|
(ProcessSession, load_session): Refactor the ProcessSession to |
16 |
|
have one method for each element start and end tag so that derived |
17 |
|
classes can easily override the processing of individual tags. |
18 |
|
Also, always parse with namespaces enabled because applications |
19 |
|
built on top of Thuban will likely use namespaces if they extend |
20 |
|
the session file format. |
21 |
|
|
22 |
2002-08-21 Bernhard Herzog <[email protected]> |
2002-08-21 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |