diff --git a/moto/dynamodb2/models.py b/moto/dynamodb2/models.py index 2f6575354..4b7175bbd 100644 --- a/moto/dynamodb2/models.py +++ b/moto/dynamodb2/models.py @@ -149,7 +149,7 @@ class Item(BaseModel): value = re.sub(r'{0}\b'.format(k), v, value) if action == "REMOVE": - key = value + key = value if '.' not in key: self.attrs.pop(value, None) else: