Commit 61d145aa authored by Amos Latteier's avatar Amos Latteier

Fixed a syntax error typo and a forgotten import. tisk, tisk.

parent a826992b
......@@ -88,6 +88,7 @@ import Acquisition
import BTree, OIBTree, IOBTree
from SearchIndex import UnIndex, UnTextIndex, Query
import regex, pdb
from string import lower
import Record
from Missing import MV
......@@ -499,7 +500,7 @@ class Catalog(Persistent, Acquisition.Implicit):
so=kw['sort-order']
elif hasattr(self, 'sort-order'):
so=getattr(self, 'sort-order')
elif kw.kas_key('sort_order'):
elif kw.has_key('sort_order'):
so=kw['sort_order']
else: so=None
if (type(so) is type('') and
......
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