/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 breezy/plugins/propose/github.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-02-02 15:38:13 UTC
  • mfrom: (7260.1.2 propose-base-url)
  • Revision ID: breezy.the.bot@gmail.com-20190202153813-ohq1qklj2znlut7y
Add .base_url property to Hoster.

Merged from https://code.launchpad.net/~jelmer/brz/propose-base-url/+merge/362565

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
    def __repr__(self):
152
152
        return "GitHub()"
153
153
 
 
154
    @property
 
155
    def base_url(self):
 
156
        # TODO(jelmer): Can we get the default URL from the Python API package
 
157
        # somehow?
 
158
        return "https://github.com"
 
159
 
154
160
    def __init__(self):
155
161
        self.gh = connect_github()
156
162