[#5995] avoid 'Neighborhood project missing' during security checks in bootstrap

neighborhood_project is a lazy property, so they very first time a neighborhood project
is created, the check here would return None and then it'd be None for the rest
of the process. This check isn't needed anyway since there's a unique constraint
on neighborhood_id/shortname for projects.

Dave Brondsema Dave Brondsema 2013-03-21

changed Allura/allura/lib/plugin.py
changed Allura/allura/model/neighborhood.py
Allura/allura/lib/plugin.py Diff Switch to side-by-side view
Loading...
Allura/allura/model/neighborhood.py Diff Switch to side-by-side view
Loading...