directives_meta.py: remove global decl (#50162)

silence flake8
This commit is contained in:
Harmen Stoppels 2025-04-22 17:08:14 +02:00 committed by GitHub
parent 41f99f8131
commit 31c5c0b423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,6 @@ class Foo(Package):
Package class, and it's how Spack gets information from the
packages to the core.
"""
global directive_names
if isinstance(dicts, str):
dicts = (dicts,)