[Zodb-checkins] CVS: Zope3/src/persistence - list.py:1.3

Marius Gedminas marius at pov.lt
Thu Oct 9 15:02:41 EDT 2003


Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv14578

Modified Files:
	list.py 
Log Message:
Fixed PersistentList __iadd__ and __imul__

=== Zope3/src/persistence/list.py 1.2 => 1.3 ===
--- Zope3/src/persistence/list.py:1.2	Wed Dec 25 09:12:13 2002
+++ Zope3/src/persistence/list.py	Thu Oct  9 15:02:10 2003
@@ -51,12 +51,14 @@
         self._p_changed = True
 
     def __iadd__(self, other):
-        self.__super_iadd(other)
+        rtn = self.__super_iadd(other)
         self._p_changed = True
+        return rtn
 
     def __imul__(self, n):
-        self.__super_imul(n)
+        rtn = self.__super_imul(n)
         self._p_changed = True
+        return rtn
 
     def append(self, item):
         self.__super_append(item)




More information about the Zodb-checkins mailing list