fuel-web/shotgun
Igor Kalnitsky 46a19a3710
shotgun: don't fall on non-ascii output
Unfortunately, Fabric writes into StringIO both so-called bytestrings
and unicode strings. Obviously, bytestrings may contain non-ascii
symbols and that leads to type-conversion issue when we use string's
join (inside getvalue() method) with a list of both unicodes and
bytestrings. In order to avoid this issue we should convert all input
unicode strings into utf-8 bytestrings (let's assume that slaves
encoding is utf-8 too so we won't have encoding mess in the output file).

Closes-Bug: #1452703

Change-Id: Ib58cc1ffb20409a8459535383cee44b7f2a0ee50
Signed-off-by: Igor Kalnitsky <igor@kalnitsky.org>
2015-05-07 19:45:11 +03:00
..
bin fixed flake8 for shotgun 2013-10-02 16:51:14 +04:00
shotgun shotgun: don't fall on non-ascii output 2015-05-07 19:45:11 +03:00
.testr.conf Added tox.ini files to subprojects 2014-06-17 17:55:14 +04:00
requirements.txt Don't hardcode strict Fabric version 2014-12-29 14:53:40 +00:00
setup.py Set version of Fuel to 6.1 everywhere 2015-04-16 14:55:58 +00:00
test-requirements.txt Added tox.ini files to subprojects 2014-06-17 17:55:14 +04:00
tox.ini Remove Fabric monkey patching code 2014-12-29 17:11:00 +02:00