[xappy] r606 committed - xappy/searchconnection.py: Fix the backwards compatibility...

0 views
Skip to first unread message

xa...@googlecode.com

unread,
Feb 22, 2010, 7:38:07 PM2/22/10
to xappy-...@googlegroups.com
Revision: 606
Author: boulton.rj
Date: Mon Feb 22 16:36:53 2010
Log: xappy/searchconnection.py: Fix the backwards compatibility
fallback for setting keymaker parameters to catch the correct
exception type.
http://code.google.com/p/xappy/source/detail?r=606

Modified:
/trunk/ChangeLog
/trunk/xappy/searchconnection.py

=======================================
--- /trunk/ChangeLog Mon Feb 22 16:17:45 2010
+++ /trunk/ChangeLog Mon Feb 22 16:36:53 2010
@@ -1,3 +1,9 @@
+Tue Feb 23 00:35:35 GMT 2010 Richard Boulton <ric...@tartarus.org>
+
+ * xappy/searchconnection.py: Fix the backwards compatibility
+ fallback for setting keymaker parameters to catch the correct
+ exception type.
+
Tue Feb 23 00:17:14 GMT 2010 Richard Boulton <ric...@tartarus.org>

* xappy/searchconnection.py,xappy/unittests/sort.py: Sort document
=======================================
--- /trunk/xappy/searchconnection.py Mon Feb 22 16:17:45 2010
+++ /trunk/xappy/searchconnection.py Mon Feb 22 16:36:53 2010
@@ -2088,7 +2088,7 @@
params = self._get_sort_slot_and_dir(field)
try:
keymaker.add_value(*params)
- except TypeError:
+ except NotImplementedError:
# backwards compatibility
params = params[:2]
keymaker.add_value(*params)

Reply all
Reply to author
Forward
0 new messages