updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / python-ezsqlobject / python-ezsqlobject-0.1.1.diff
blobbe6568ef26e643970eaa3c32e555a88de60d90a2
1 diff -Naur ezsqlobject-0.1.1~/ezsqlobject.py ezsqlobject-0.1.1/ezsqlobject.py
2 --- ezsqlobject-0.1.1~/ezsqlobject.py 2009-12-03 22:44:45.000000000 -0600
3 +++ ezsqlobject-0.1.1/ezsqlobject.py 2009-12-03 22:45:49.000000000 -0600
4 @@ -40,9 +40,7 @@
5 except ImportError:
6 try:
7 from sqlobject import \
8 - SQLObject, \
9 - MySQLConnection, PostgresConnection, \
10 - SQLiteConnection, DBMConnection, FirebirdConnection
11 + SQLObject, mysql, postgres, sqlite, maxdb, firebird
12 _gotSqlObject = True
13 except ImportError:
14 _gotSqlObject = False
15 @@ -385,7 +383,7 @@
16 """
17 EzSqlDb subclass specific for MySQL databases
18 """
19 - _connclass = MySQLConnection
20 + _connclass = mysql
22 def __init__(self, **kw):
23 """
24 @@ -416,7 +414,7 @@
25 """
26 EzSqlDb subclass specific for PostgreSQL databases
27 """
28 - _connclass = PostgresConnection
29 + _connclass = postgres
31 def __init__(self, **kw):
32 """
33 @@ -441,7 +439,7 @@
34 """
35 EzSqlDb subclass specific for SQLite databases
36 """
37 - _connclass = SQLiteConnection
38 + _connclass = sqlite
40 def __init__(self, dbpath):
41 """
42 @@ -457,7 +455,7 @@
43 """
44 EzSqlDb subclass specific for DBM databases
45 """
46 - _connclass = DBMConnection
47 + _connclass = maxdb
49 def __init__(self, path):
50 """
51 @@ -473,7 +471,7 @@
52 """
53 EzSqlDb subclass specific for Firebird databases
54 """
55 - _connclass = FirebirdConnection
56 + _connclass = firebird
58 def __init__(self, **kw):
59 """