mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-06 00:28:01 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
321414d352 | ||
|
|
413d4381cc |
10
CHANGES.rst
10
CHANGES.rst
@@ -1,7 +1,15 @@
|
|||||||
Changelog
|
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]
|
- Add additional output for the current request. [Robin Gloster]
|
||||||
|
|||||||
@@ -303,12 +303,12 @@ def get_auth(args, encode=True):
|
|||||||
if platform.system() != 'Darwin':
|
if platform.system() != 'Darwin':
|
||||||
log_error("Keychain arguments are only supported on Mac OSX")
|
log_error("Keychain arguments are only supported on Mac OSX")
|
||||||
try:
|
try:
|
||||||
with open(os.devnull,'w') as devnull:
|
with open(os.devnull, 'w') as devnull:
|
||||||
token = (subprocess.check_output([
|
token = (subprocess.check_output([
|
||||||
'security','find-generic-password',
|
'security', 'find-generic-password',
|
||||||
'-s',args.osx_keychain_item_name,
|
'-s', args.osx_keychain_item_name,
|
||||||
'-a',args.osx_keychain_item_account,
|
'-a', args.osx_keychain_item_account,
|
||||||
'-w' ], stderr=devnull).strip())
|
'-w'], stderr=devnull).strip())
|
||||||
auth = token + ':' + 'x-oauth-basic'
|
auth = token + ':' + 'x-oauth-basic'
|
||||||
except:
|
except:
|
||||||
log_error('No password item matching the provided name and account could be found in the osx keychain.')
|
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