fix a typo
This commit is contained in:
parent
d271c29a24
commit
93c4ab0a9d
|
@ -424,7 +424,7 @@ class Config:
|
||||||
return
|
return
|
||||||
|
|
||||||
opt = self.__options_per_key[typename]
|
opt = self.__options_per_key[typename]
|
||||||
if item is None:
|
if subname is None:
|
||||||
del opt[1][name]
|
del opt[1][name]
|
||||||
# if subname is specified, delete the item in the group.
|
# if subname is specified, delete the item in the group.
|
||||||
elif opt[1][name].has_key(subname):
|
elif opt[1][name].has_key(subname):
|
||||||
|
|
Loading…
Reference in New Issue