Re: [libvirt] [PATCH 08/22] esx_vi_generator: Simplify alignment function

2018-03-19 Thread Daniel P . Berrangé
On Sat, Mar 17, 2018 at 02:23:26PM +, Radostin Stoyanov wrote: > Generate whitespace using the standard function ljust() that is > available in both Py3 [1] and Py2 [2]. > > 1: https://docs.python.org/3/library/stdtypes.html?highlight=strip#str.ljust > 2:

[libvirt] [PATCH 08/22] esx_vi_generator: Simplify alignment function

2018-03-17 Thread Radostin Stoyanov
Generate whitespace using the standard function ljust() that is available in both Py3 [1] and Py2 [2]. 1: https://docs.python.org/3/library/stdtypes.html?highlight=strip#str.ljust 2: https://docs.python.org/2.7/library/string.html#string.ljust Signed-off-by: Radostin Stoyanov