Commit bec5f3db by José Padilla

Merge pull request #3941 from wesgt/master

fix typo
parents 0e1c1f6b b773f03b
...@@ -788,7 +788,7 @@ Here's an example of how you might choose to implement multiple updates: ...@@ -788,7 +788,7 @@ Here's an example of how you might choose to implement multiple updates:
# Perform creations and updates. # Perform creations and updates.
ret = [] ret = []
for book_id, data in data_mapping.items(): for book_id, data in data_mapping.items():
book = book_mapping.get(book_id, None): book = book_mapping.get(book_id, None)
if book is None: if book is None:
ret.append(self.child.create(data)) ret.append(self.child.create(data))
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment