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

@@ -238,7 +238,6 @@ def main():
check_server_configuration()
global fstore
fstore = sysrestore.FileStore(paths.SYSRESTORE)
print("==============================================================================")