From: Mike Bayer Date: Sat, 28 Jan 2012 22:09:27 +0000 (-0500) Subject: fix a usage issue here X-Git-Tag: rel_0_7_5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1ebdbdda25028e840ab3a955fe71458b03a444e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix a usage issue here --- diff --git a/examples/custom_attributes/custom_management.py b/examples/custom_attributes/custom_management.py index 644d512cf7..50b65a37ee 100644 --- a/examples/custom_attributes/custom_management.py +++ b/examples/custom_attributes/custom_management.py @@ -103,6 +103,9 @@ class MyCollectionAdapter(object): def append_with_event(self, item, initiator=None): self.collection.add(item, emit=initiator) + def append_multiple_without_event(self, items): + self.collection.members.extend(items) + def append_without_event(self, item): self.collection.add(item, emit=False)