aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/db_import.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-22 21:36:21 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-22 21:36:21 -0400
commite3121a4883a0e916c46f9dd20381840f5b2304c2 (patch)
tree49689c90057a4b8150fda8f1a860c339eb9f9aba /lib/sisu/v6/db_import.rb
parentv5 v6: options, sisupod parsing, fix (diff)
v5 v6: db, minor
Diffstat (limited to 'lib/sisu/v6/db_import.rb')
-rw-r--r--lib/sisu/v6/db_import.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v6/db_import.rb b/lib/sisu/v6/db_import.rb
index 4331fc2a..4b3fdbc5 100644
--- a/lib/sisu/v6/db_import.rb
+++ b/lib/sisu/v6/db_import.rb
@@ -91,7 +91,9 @@ module SiSU_DbImport
@counter={}
@db=SiSU_Env::InfoDb.new
if @sql_type==:sqlite
- @driver_sqlite3=(@conn.inspect.match(/^(.{10})/)[1]==@db.sqlite.conn_sqlite3.inspect.match(/^(.{10})/)[1]) \
+ @driver_sqlite3=
+ (@conn.inspect.match(/^(.{10})/)[1] \
+ == @db.sqlite.conn_sqlite3.inspect.match(/^(.{10})/)[1]) \
? true
: false
end