/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bugtracker.py

  • Committer: Lukáš Lalinský
  • Date: 2007-11-27 19:27:40 UTC
  • mto: This revision was merged to the branch mainline in revision 3075.
  • Revision ID: lalinsky@gmail.com-20071127192740-2dv4oe4fd9hfhbyc
Add tests for InvalidBugTrackerURL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
    """Generic bug tracker specified by an URL template."""
178
178
 
179
179
    def __init__(self):
180
 
        self.type_name = 'bugtracker'
 
180
        super(GenericBugTracker, self).__init__('bugtracker', None)
 
181
 
 
182
    def get(self, abbreviation, branch):
 
183
        self._abbreviation = abbreviation
 
184
        return super(GenericBugTracker, self).get(abbreviation, branch)
181
185
 
182
186
    def _get_bug_url(self, bug_id):
183
187
        """Given a validated bug_id, return the bug's web page's URL."""