Try and fix an issue with python 2.5

This commit is contained in:
Matt Wright
2012-06-20 16:35:36 -04:00
parent 5034e7b4f6
commit 7f2a05c364
+8 -3
View File
@@ -30,9 +30,14 @@ def create_users():
('joe@lp.com', 'password', ['editor'], True),
('jill@lp.com', 'password', ['author'], True),
('tiya@lp.com', 'password', [], False)):
current_app.security.datastore.create_user(
email=u[0], password=u[1], roles=u[2], active=u[3],
authentication_token='123abc')
current_app.security.datastore.create_user(**{
'email': u[0],
'password': u[1],
'roles': u[2],
'active': u[3],
'authentication_token':
'123abc'
})
def populate_data():