unit tests did not catch this, but this will not work under python 2.6
This commit is contained in:
parent
114de9ba0b
commit
d4a31e5e50
@ -118,7 +118,7 @@ class Item(object):
|
|||||||
# A Real value
|
# A Real value
|
||||||
value = value.lstrip(":").rstrip(",").strip()
|
value = value.lstrip(":").rstrip(",").strip()
|
||||||
for k, v in expression_attribute_names.items():
|
for k, v in expression_attribute_names.items():
|
||||||
value = re.sub(r'{}\b'.format(k), v, value)
|
value = re.sub(r'{0}\b'.format(k), v, value)
|
||||||
|
|
||||||
if action == "REMOVE":
|
if action == "REMOVE":
|
||||||
self.attrs.pop(value, None)
|
self.attrs.pop(value, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user