]> granicus.if.org Git - graphviz/commitdiff
remove an unnecessary Pylint 'global' statement
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 14 Nov 2021 18:37:14 +0000 (10:37 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 14 Dec 2021 01:18:50 +0000 (17:18 -0800)
Newer versions of Pylint identify this.

rtest/rtest.py

index 33608baf06c91ebc9657f7497fd0062b51fcd084..be1c96075ea344b30bd586e0615f40758faf92b6 100755 (executable)
@@ -189,7 +189,6 @@ def genOutname(name, alg, fmt):
   and append to basename
   If the last two parameters have been used before, add numeric suffix.
   """
-  global TESTTYPES
   fmt_split = fmt.split(":")
   if len(fmt_split) >= 2:
     F = fmt_split[0]