Skip to content

Commit 7788d16

Browse files
zheng-daUbuntu
authored and
Ubuntu
committed
Fix a bug in standalone mode (dmlc#6179)
1 parent 4ed8ffd commit 7788d16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/dgl/distributed/standalone_kvstore.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def init_data(
6262
def delete_data(self, name):
6363
"""delete the data"""
6464
del self._data[name]
65-
self._gdata_name_list.remove(name)
65+
if name in self._gdata_name_list:
66+
self._gdata_name_list.remove(name)
6667

6768
def data_name_list(self):
6869
"""get the names of all data"""

0 commit comments

Comments
 (0)