1 |
# Copyright (C) 2003 by Intevation GmbH |
# Copyright (C) 2003, 2004 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Jan-Oliver Wagner <[email protected]> |
# Jan-Oliver Wagner <[email protected]> (2003, 2004) |
4 |
# |
# |
5 |
# This program is free software under the GPL (>=v2) |
# This program is free software under the GPL (>=v2) |
6 |
# Read the file COPYING coming with Thuban for details. |
# Read the file COPYING coming with Thuban for details. |
23 |
|
|
24 |
import os, sys |
import os, sys |
25 |
|
|
26 |
# only import GUI when not called as command line tool |
# only import GUI and register when not called as command line tool |
27 |
if __name__ != '__main__': |
if __name__ != '__main__': |
28 |
from wxPython.wx import * |
from wxPython.wx import * |
29 |
|
|
77 |
dbf.add_field('SORT_NAME', dbflib.FTString, 40, 0) |
dbf.add_field('SORT_NAME', dbflib.FTString, 40, 0) |
78 |
dbf.add_field('FULL_NAME', dbflib.FTString, 40, 0) |
dbf.add_field('FULL_NAME', dbflib.FTString, 40, 0) |
79 |
dbf.add_field('FULL_ND', dbflib.FTString, 40, 0) |
dbf.add_field('FULL_ND', dbflib.FTString, 40, 0) |
80 |
dbf.add_field('MODIFY_DATE', dbflib.FTString, 10, 0) |
dbf.add_field('MODIFY_DATE', dbflib.FTString, 11, 0) |
81 |
del dbf |
del dbf |
82 |
dbf = dbflib.open(dbf_filename, 'r+b') |
dbf = dbflib.open(dbf_filename, 'r+b') |
83 |
|
|