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 committed 2016-09-23 09:23:41 +02:00
1 parent 4d7d53c966
commit 9b68d2a1f8
6 files changed
+3 -15

No files matched your search

-1
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: