Re: [libvirt] [PATCH sandbox-image 8/9] cli: Remove redundant global statements

2018-04-19 Thread Cedric Bosdonnat
On Wed, 2018-04-18 at 21:57 +0100, Radostin Stoyanov wrote: > The global statement is needed for assignment of variables in global > scope [1]. In this case, we only read the value of those variables, > therefore we do not need to explicitly use the global statement. > > [1]

[libvirt] [PATCH sandbox-image 8/9] cli: Remove redundant global statements

2018-04-18 Thread Radostin Stoyanov
The global statement is needed for assignment of variables in global scope [1]. In this case, we only read the value of those variables, therefore we do not need to explicitly use the global statement. [1] https://docs.python.org/3/reference/simple_stmts.html#the-global-statement Signed-off-by: