mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-14 03:17:05 +00:00
adt.py: Fix typo
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
f1cc65f6c0
commit
c6965acc75
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class ADTNode:
|
|||
|
||||
def __setitem__(self, item, value):
|
||||
if isinstance(item, str):
|
||||
for i, c in enumeate(self._children):
|
||||
for i, c in enumerate(self._children):
|
||||
if c.name == item:
|
||||
self._children[i] = value
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue