dabo Commit
Revision 7103
Date: 2012-03-04 10:21:33 -0800 (Sun, 04 Mar 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7103

Changed:
U   trunk/dabo/db/dbSQLite.py

Log:
Applied John's patch for SQLite views to come into the wizard getTables() list.


Diff:
Modified: trunk/dabo/db/dbSQLite.py
===================================================================
--- trunk/dabo/db/dbSQLite.py   2012-03-02 18:16:21 UTC (rev 7102)
+++ trunk/dabo/db/dbSQLite.py   2012-03-04 18:21:33 UTC (rev 7103)
@@ -168,7 +168,7 @@
                                        if rec["type"] == "table"]
                else:
                        tables = [rec["name"] for rec in rs
-                                       if rec["type"] == "table"
+                                       if rec["type"] in ("table", "view")     
                                        and not 
rec["name"].startswith("sqlite_")]
                return tuple(tables)
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to