[#1228] Fix issue in migrate-project-database.py

Previously, we were not correctly updating the project roles when migrating
projects to the sharded environment. This patch corrects the update() statment,
as well as providing a small fix to the Project.roles property, which previously
tested for the existence of a 'a' property on ProjectRoles, where it should have
tested for 'project_id'.

Rick Copeland Rick Copeland 2010-12-09

changed Allura/allura/model/project.py
changed scripts/migrate_project_database.py
Allura/allura/model/project.py Diff Switch to side-by-side view
Loading...
scripts/migrate_project_database.py Diff Switch to side-by-side view
Loading...