[Checkins] SVN: relstorage/trunk/relstorage/adapters/packundo.py Remove un-used list. No need to build this up if we are going to ignore it.

Martijn Pieters mj at zopatista.com
Wed May 18 09:27:49 EDT 2011


Log message for revision 121709:
  Remove un-used list. No need to build this up if we are going to ignore it.

Changed:
  U   relstorage/trunk/relstorage/adapters/packundo.py

-=-
Modified: relstorage/trunk/relstorage/adapters/packundo.py
===================================================================
--- relstorage/trunk/relstorage/adapters/packundo.py	2011-05-18 13:01:23 UTC (rev 121708)
+++ relstorage/trunk/relstorage/adapters/packundo.py	2011-05-18 13:27:49 UTC (rev 121709)
@@ -406,10 +406,8 @@
             """
         self.runner.run_script_stmt(cursor, stmt, {'tid': tid})
 
-        replace_rows = []
         add_rows = []  # [(from_oid, tid, to_oid)]
         for from_oid, state in cursor:
-            replace_rows.append((from_oid,))
             if hasattr(state, 'read'):
                 # Oracle
                 state = state.read()



More information about the checkins mailing list