Fix KeyError when saving repository form
Review Request #6746 — Created Jan. 7, 2015 and submitted — Latest diff uploaded
A KeyError was raised when certain hosting services (like GitHub) did not contain 'default' as a plan. To fix this, check that 'default' exists in the bug_tracker_forms dictionary before running the remaining validations.
Successfully ran existing scmtools tests. KeyError was no longer raised when a new repository was created.