mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-06 16:38:03 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b9549ffde | ||
|
|
fb2c3ca921 | ||
|
|
4f4785085d | ||
|
|
76895dcf69 |
@@ -1,7 +1,7 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
0.14.1 (2017-10-11)
|
0.15.0 (2017-12-11)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
- Fix arg not defined error. [Edward Pfremmer]
|
- Fix arg not defined error. [Edward Pfremmer]
|
||||||
|
|||||||
@@ -69,11 +69,15 @@ def logging_subprocess(popenargs,
|
|||||||
"""
|
"""
|
||||||
child = subprocess.Popen(popenargs, stdout=subprocess.PIPE,
|
child = subprocess.Popen(popenargs, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE, **kwargs)
|
stderr=subprocess.PIPE, **kwargs)
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
log_info("Windows operating system detected - no subprocess logging will be returned")
|
||||||
|
|
||||||
log_level = {child.stdout: stdout_log_level,
|
log_level = {child.stdout: stdout_log_level,
|
||||||
child.stderr: stderr_log_level}
|
child.stderr: stderr_log_level}
|
||||||
|
|
||||||
def check_io():
|
def check_io():
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
return
|
||||||
ready_to_read = select.select([child.stdout, child.stderr],
|
ready_to_read = select.select([child.stdout, child.stderr],
|
||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.14.1'
|
__version__ = '0.15.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user