unit tests did not catch this, but this will not work under python 2.6
This commit is contained in:
parent
114de9ba0b
commit
d4a31e5e50
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class Item(object):
|
|||
# A Real value
|
||||
value = value.lstrip(":").rstrip(",").strip()
|
||||
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":
|
||||
self.attrs.pop(value, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue