1 |
2003-11-11 Bernhard Herzog <[email protected]> |
2003-11-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Avoid warnings when run under Python 2.3 |
4 |
|
|
5 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape) |
6 |
|
(BaseRenderer.draw_label_layer): Coordinates must be ints. |
7 |
|
|
8 |
|
* Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a |
9 |
|
real method so that we can convert to int. |
10 |
|
(MapRenderer.label_font): The font size mist be an int. |
11 |
|
|
12 |
|
* Thuban/UI/common.py (Color2wxColour): The color values must be |
13 |
|
ints. Also, remove the unnecessary asserts. |
14 |
|
|
15 |
|
* test/test_load_0_8.py (TestUnicodeStrings.file_contents) |
16 |
|
(TestUnicodeStrings.test): Python source code should not contain |
17 |
|
non-ascii characters unless an encoding is specified in the file. |
18 |
|
Therefore use \x escapes in the string literals for non-ascii |
19 |
|
characters. |
20 |
|
|
21 |
|
2003-11-11 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
* Thuban/Model/resource.py (get_system_proj_file): Add a filename |
* Thuban/Model/resource.py (get_system_proj_file): Add a filename |
24 |
parameter so that this function can be used for all proj files in |
parameter so that this function can be used for all proj files in |
25 |
Resource/Projections |
Resource/Projections |