Commit 7e2bae18 authored by Jason R. Coombs's avatar Jason R. Coombs

Update release script to use keyring more properly (rather than bundling an...

Update release script to use keyring more properly (rather than bundling an artifact of the backend I was using).

--HG--
branch : distribute
extra : rebase_source : 188dcdb7f0873f1b382e8bde65377c5f43266f9f
parent 1e7b4928
...@@ -50,7 +50,7 @@ def get_mercurial_creds(system='https://bitbucket.org', username=None): ...@@ -50,7 +50,7 @@ def get_mercurial_creds(system='https://bitbucket.org', username=None):
# todo: consider getting this from .hgrc # todo: consider getting this from .hgrc
username = username or getpass.getuser() username = username or getpass.getuser()
keyring_username = '@@'.join((username, system)) keyring_username = '@@'.join((username, system))
system = '@'.join((keyring_username, 'Mercurial')) system = 'Mercurial'
password = ( password = (
keyring.get_password(system, keyring_username) keyring.get_password(system, keyring_username)
if 'keyring' in globals() if 'keyring' in globals()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment