mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 23:55:36 +00:00
Fix Config.unset() making the name known
This commit is contained in:
parent
208e4ec5d3
commit
55cc4dbb5c
|
@ -131,9 +131,10 @@ class Config:
|
||||||
def unset(self, name):
|
def unset(self, name):
|
||||||
"""Make name unset (inactive).
|
"""Make name unset (inactive).
|
||||||
|
|
||||||
name remains known.
|
name remains known if it was known before.
|
||||||
"""
|
"""
|
||||||
self.set(name)
|
if name not in self.settings:
|
||||||
|
return
|
||||||
self.settings[name].active = False
|
self.settings[name].active = False
|
||||||
|
|
||||||
def adapt(self, adapter):
|
def adapt(self, adapter):
|
||||||
|
|
Loading…
Reference in a new issue