Fix trivial typo in variable name (#31143)

This commit is contained in:
Olivier Tilloy 2024-01-21 06:54:56 +00:00 committed by GitHub
parent 23a4a750be
commit 8dcf3dd0b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,9 +51,9 @@ class Configuration:
# Mark the descriptors for which only a single nativeType implements
# an interface.
for descriptor in self.descriptors:
intefaceName = descriptor.interface.identifier.name
interfaceName = descriptor.interface.identifier.name
otherDescriptors = [d for d in self.descriptors
if d.interface.identifier.name == intefaceName]
if d.interface.identifier.name == interfaceName]
descriptor.uniqueImplementation = len(otherDescriptors) == 1
self.enums = [e for e in parseData if e.isEnum()]