From deaa03bac1efadd140d52f0129647a27ea53c85a Mon Sep 17 00:00:00 2001 From: Erik Rose Date: Mon, 21 Jun 2010 15:53:05 -0700 Subject: [PATCH] Fix a few spelling errors in comments. --- apps/search/sphinxapi.py | 2 +- apps/sumo/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/search/sphinxapi.py b/apps/search/sphinxapi.py index f7d104d60..6a7148369 100644 --- a/apps/search/sphinxapi.py +++ b/apps/search/sphinxapi.py @@ -111,7 +111,7 @@ class SphinxClient: self._mode = SPH_MATCH_ALL # query matching mode (default is SPH_MATCH_ALL) self._weights = [] # per-field weights (default is 1 for all fields) self._sort = SPH_SORT_RELEVANCE # match sorting mode (default is SPH_SORT_RELEVANCE) - self._sortby = '' # attribute to sort by (defualt is "") + self._sortby = '' # attribute to sort by (default is "") self._min_id = 0 # min ID to match (default is 0) self._max_id = 0 # max ID to match (default is UINT_MAX) self._filters = [] # search filters diff --git a/apps/sumo/models.py b/apps/sumo/models.py index 4630fd20b..73786e205 100644 --- a/apps/sumo/models.py +++ b/apps/sumo/models.py @@ -6,7 +6,7 @@ import settings from sumo.urlresolvers import get_url_prefix from sumo_locales import INTERNAL_MAP -# Our apps should subclass BaseManager instead of models.Manager or +# Our apps should subclass ManagerBase instead of models.Manager or # caching.base.CachingManager directly. ManagerBase = caching.base.CachingManager