ソースを参照

[import] [minor] fixes to aid migration

version-14
Rushabh Mehta 12年前
コミット
6681719a98
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      webnotes/model/doclist.py

+ 1
- 1
webnotes/model/doclist.py ファイルの表示

@@ -114,7 +114,7 @@ class DocList(list):
def update(self, doclist):
for i, d in enumerate(self):
if d.get("parent") and d.get("name") not in [t.name for t in doclist]:
if d.get("parent") and d.get("name") not in [t.get("name") for t in doclist]:
del self[i]
for d in doclist:


読み込み中…
キャンセル
保存