/[thuban]
ViewVC logotype

Revision 1625


Jump to revision: Previous Next
Author: bh
Date: Thu Aug 21 16:02:23 2003 UTC (21 years, 6 months ago)
Changed paths: 3
Log Message:
Make postgis support really optional including insensitive menu
items.

* Thuban/Model/postgisdb.py (has_postgis_support): New. Return
whether the postgis is supported.

* Thuban/UI/dbdialog.py: Put the psycopg import into try..except
to make postgis support optional

* Thuban/UI/mainwindow.py (_has_postgis_support): New. Context
version of Thuban.Model.postgisdb.has_postgis_support
(database_management command): Make it only sensitive if postgis
is supported.


Changed paths

Path Details
Directorytrunk/thuban/Thuban/Model/postgisdb.py modified , text changed
Directorytrunk/thuban/Thuban/UI/dbdialog.py modified , text changed
Directorytrunk/thuban/Thuban/UI/mainwindow.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26