Pylint: fix definition of global variables

Global variables should be defined in the outer space, not just marked
as global inside functions.

Removes unused global variables

Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
This commit is contained in:
Martin Basti
2016-03-17 18:40:04 +01:00
parent 491447cc5a
commit e93e89e1ae
4 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,6 @@ disable=
fixme,
global-statement,
global-variable-not-assigned,
global-variable-undefined,
no-init,
pointless-except,
pointless-statement,