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

Fix token login.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    # TODO(jelmer): token = auth.get_token('https', 'github.com')
89
89
    token = retrieve_github_token('https', 'github.com')
90
90
    if token is not None:
91
 
        return Github("token", user_agent=user_agent)
 
91
        return Github(token, user_agent=user_agent)
92
92
    else:
93
93
        note('Accessing GitHub anonymously. To log in, run \'brz gh-login\'.')
94
94
        return Github(user_agent=user_agent)