Skip to content

Commit 1da0346

Browse files
fix typo in error message in BaseRelation/delete
1 parent 2c96ca4 commit 1da0346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/base_relation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def delete(self, verbose=True):
309309
safe = config['safemode']
310310
if already_in_transaction and safe:
311311
raise DataJointError('Cannot delete within a transaction in safemode. '
312-
'Set dj.config["setmode"] = False or complete the ongoing transaction first.')
312+
'Set dj.config["safemode"] = False or complete the ongoing transaction first.')
313313
graph = self.connection.dependencies
314314
graph.load()
315315
delete_list = collections.OrderedDict()

0 commit comments

Comments
 (0)