diff roundup/indexer.py @ 1986:910b39f8c5b8

use the upload-supplied content-type if there is one
author Richard Jones <richard@users.sourceforge.net>
date Tue, 20 Jan 2004 03:58:38 +0000
parents 0c736e2f1dd5
children fc52d57c6c3e
line wrap: on
line diff
--- a/roundup/indexer.py	Tue Jan 20 03:57:26 2004 +0000
+++ b/roundup/indexer.py	Tue Jan 20 03:58:38 2004 +0000
@@ -14,7 +14,7 @@
 #     that promote freedom, but obviously am giving up any rights
 #     to compel such.
 # 
-#$Id: indexer.py,v 1.16 2003-01-14 03:56:44 richard Exp $
+#$Id: indexer.py,v 1.17 2004-01-20 03:58:38 richard Exp $
 '''
 This module provides an indexer class, RoundupIndexer, that stores text
 indices in a roundup instance.  This class makes searching the content of
@@ -146,7 +146,6 @@
         if not hits:
             return {}
 
-        #designator_propname = {'msg': 'messages', 'file': 'files'}
         designator_propname = {}
         for nm, propclass in klass.getprops().items():
             if isinstance(propclass, Link) or isinstance(propclass, Multilink):
@@ -154,7 +153,7 @@
 
         # build a dictionary of nodes and their associated messages
         # and files
-        nodeids = {}    # this is the answer
+        nodeids = {}      # this is the answer
         propspec = {}     # used to do the klass.find
         for propname in designator_propname.values():
             propspec[propname] = {}   # used as a set (value doesn't matter)

Roundup Issue Tracker: http://roundup-tracker.org/