Victor Stinner 4d7dce2ea8 Add binary parameter to execute and ssh_execute
Add an optional binary parameter to execute() and ssh_execute()
functions of oslo_concurrency.processutils. If binary is True, stdout
and stderr are returned as byte strings on Python 2 and Python 3.

When Nova will be ported to Python 3, binary=True will be needed to get
binary outputs (like an encryption key, see the bug #1410348).

Add new tests.

This changeset does not change the default behaviour.

Change-Id: I283cadf04781942b65f211237070cc2354939cdb
Related-Bug: 1410348
2015-04-19 01:17:43 +02:00
2015-04-18 00:11:28 +02:00
2014-08-07 22:27:31 +04:00
2014-12-10 08:31:04 -05:00
2015-04-07 21:09:17 +00:00
2014-09-09 04:32:55 +00:00
2015-03-11 19:51:58 +00:00

oslo.concurrency

Latest Version

Downloads

The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.

Description
OpenStack library for all concurrency-related code
Readme 4.7 MiB
Languages
Python 100%