/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/transientdb.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/transientdb.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2681 by dpinte, Mon May 15 16:11:46 2006 UTC revision 2682 by dpinte, Mon May 15 20:11:15 2006 UTC
# Line 24  __version__ = "$Revision$" Line 24  __version__ = "$Revision$"
24  # and named.  # and named.
25  # The sqlite2 boolean variable is used to manage specific part of the code  # The sqlite2 boolean variable is used to manage specific part of the code
26  try:  try:
27            # Using SQLITE 2.x        # Using SQLITE 2.x
28      sqlite2 = True      sqlite2 = True
29      from pysqlite2 import dbapi2 as sqlite      from pysqlite2 import dbapi2 as sqlite
30  except ImportError:  except ImportError:
31            # Using SQLITE 1.x        # Using SQLITE 1.x
32      sqlite2 = False      sqlite2 = False
33      import sqlite      import sqlite
34                
35    
36  from base import TitledObject  from base import TitledObject
37    

Legend:
Removed from v.2681  
changed lines
  Added in v.2682

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26