From d44ca41410f4b2706dd143a91e9f1db68f6045ea Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Wed, 31 May 2023 16:14:05 -0700 Subject: [PATCH] docs: clarify comment that I had added earlier --- xmodule/x_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmodule/x_module.py b/xmodule/x_module.py index da0eed90e9eb..f3e7395fa3b6 100644 --- a/xmodule/x_module.py +++ b/xmodule/x_module.py @@ -379,7 +379,7 @@ def location(self): def location(self, value): assert isinstance(value, UsageKey) self.scope_ids = self.scope_ids._replace( - def_id=value, # FIXME: this seems wrong... a UsageKey is not a definition key. + def_id=value, # Note: assigning a UsageKey as def_id is OK in old mongo / import system but wrong in split usage_id=value, )