Commit 07652619 authored by Casey Duncan's avatar Casey Duncan

Fixed bad variable reference in UndoSearch.search

parent f874bdff
......@@ -115,7 +115,7 @@
# may have a back pointer to a version record or to a non-version
# record.
#
__version__='$Revision: 1.101 $'[11:-2]
__version__='$Revision: 1.102 $'[11:-2]
import base64
from cPickle import Pickler, Unpickler, loads
......@@ -2409,7 +2409,7 @@ class UndoSearch:
def search(self):
"""Search for another record."""
dict = self._readnext()
if self.filter is None or self.filter(d):
if self.filter is None or self.filter(dict):
if self.i >= self.first:
self.results.append(dict)
self.i += 1
......
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