summaryrefslogtreecommitdiff
path: root/examples/association/proxied_association.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/association/proxied_association.py')
-rw-r--r--examples/association/proxied_association.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/association/proxied_association.py b/examples/association/proxied_association.py
index 96e9e6b07..7f4d611a7 100644
--- a/examples/association/proxied_association.py
+++ b/examples/association/proxied_association.py
@@ -96,6 +96,6 @@ if __name__ == '__main__':
# print customers who bought 'MySQL Crowbar' on sale
orders = session.query(Order).\
join('order_items', 'item').\
- filter(Item.description=='MySQL Crowbar').\
+ filter(Item.description == 'MySQL Crowbar').\
filter(Item.price > OrderItem.price)
- print [order.customer_name for order in orders]
+ print [o.customer_name for o in orders]