Pylint: enable global-variable-not-assigned check

the global keyword should be used only when variable from outside is
assigned inside, otherwise it has no effect and just confuses developers

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Martin Basti
2016-09-22 14:39:16 +02:00
parent 4d7d53c966
commit 9b68d2a1f8
6 changed files with 3 additions and 15 deletions

View File

@@ -385,7 +385,6 @@ def main():
print_info("\nConnection from replica to master is OK.")
# create listeners
global RESPONDERS
print_info("Start listening on required ports for remote master check")
for port in required_ports: