forked from openlp/openlp
Imports and variable naming
This commit is contained in:
parent
6ab879ebdb
commit
9d6d6f4ac9
@ -27,9 +27,8 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import sqlite3
|
import sqlite3
|
||||||
|
|
||||||
from sqlalchemy import create_engine
|
|
||||||
from sqlalchemy.exceptions import InvalidRequestError
|
from sqlalchemy.exceptions import InvalidRequestError
|
||||||
from sqlalchemy.orm import scoped_session, sessionmaker, mapper
|
from sqlalchemy.orm import mapper
|
||||||
|
|
||||||
from openlp.core.lib import BaseModel, SettingsManager
|
from openlp.core.lib import BaseModel, SettingsManager
|
||||||
from openlp.core.utils import AppLocation
|
from openlp.core.utils import AppLocation
|
||||||
@ -99,8 +98,8 @@ class MigrateBibles(object):
|
|||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
self.progress(u'Bibles processing started')
|
self.progress(u'Bibles processing started')
|
||||||
for f in self.database_files:
|
for db_file in self.database_files:
|
||||||
self.v_1_9_0(f)
|
self.v_1_9_0(db_file)
|
||||||
self.progress(u'Bibles processing finished')
|
self.progress(u'Bibles processing finished')
|
||||||
|
|
||||||
def v_1_9_0(self, database):
|
def v_1_9_0(self, database):
|
||||||
|
Loading…
Reference in New Issue
Block a user