Changeset - ad7aa6254a2b
[Not reviewed]
0 1 0
Lance Edgar (lance) - 12 years ago 2012-04-21 12:48:51
lance@edbob.org
init tweak
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rattail/db.py
Show inline comments
 
@@ -31,12 +31,12 @@ from edbob.db.extensions import activate_extension
 
import rattail
 

	
 

	
 
def init_database(session):
 
def init_database(engine, session):
 
    """
 
    Initialize an ``edbob`` database for use with Rattail.
 
    """
 

	
 
    activate_extension('rattail', session.bind)
 
    activate_extension('rattail', engine)
 

	
 
    columns = [
 
        ('F01',         'UPC',                  'GPC(14)'),
0 comments (0 inline, 0 general)