mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
321414d352 | ||
|
|
413d4381cc |
10
CHANGES.rst
10
CHANGES.rst
@@ -1,7 +1,15 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
0.19.1 (2018-03-24)
|
||||
0.19.2 (2018-03-24)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
|
||||
- Cleanup pep8 violations. [Jose Diaz-Gonzalez]
|
||||
|
||||
0.19.0 (2018-03-24)
|
||||
-------------------
|
||||
|
||||
- Add additional output for the current request. [Robin Gloster]
|
||||
|
||||
@@ -303,12 +303,12 @@ def get_auth(args, encode=True):
|
||||
if platform.system() != 'Darwin':
|
||||
log_error("Keychain arguments are only supported on Mac OSX")
|
||||
try:
|
||||
with open(os.devnull,'w') as devnull:
|
||||
with open(os.devnull, 'w') as devnull:
|
||||
token = (subprocess.check_output([
|
||||
'security','find-generic-password',
|
||||
'-s',args.osx_keychain_item_name,
|
||||
'-a',args.osx_keychain_item_account,
|
||||
'-w' ], stderr=devnull).strip())
|
||||
'security', 'find-generic-password',
|
||||
'-s', args.osx_keychain_item_name,
|
||||
'-a', args.osx_keychain_item_account,
|
||||
'-w'], stderr=devnull).strip())
|
||||
auth = token + ':' + 'x-oauth-basic'
|
||||
except:
|
||||
log_error('No password item matching the provided name and account could be found in the osx keychain.')
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '0.19.1'
|
||||
__version__ = '0.19.2'
|
||||
|
||||
Reference in New Issue
Block a user