~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bugtracker.py

[rs=buildbot-poller] automatic merge from stable. Revisions: 11051,
        11052, 11053, 11054, 11055, 11056, 11057 included.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        bugtracker = getUtility(IBugTrackerSet).queryByBaseURL(input)
69
69
        if bugtracker is not None and bugtracker != self.context:
70
70
            raise LaunchpadValidationError(
71
 
                "%s is already registered in Launchpad." % input)
 
71
                '%s is already registered in Launchpad as "%s" (%s).'
 
72
                % (input, bugtracker.title, bugtracker.name))
72
73
 
73
74
 
74
75
class BugTrackerType(DBEnumeratedType):
183
184
        BugTrackerNameField(
184
185
            title=_('Name'),
185
186
            constraint=name_validator,
186
 
            description=_('An URL-friendly name for the bug tracker, '
 
187
            description=_('A URL-friendly name for the bug tracker, '
187
188
                          'such as "mozilla-bugs".')))
188
189
    title = exported(
189
190
        TextLine(