X-Git-Url: https://blacka.com/cgi-bin/gitweb.cgi?p=python-rwhoisd.git;a=blobdiff_plain;f=rwhoisd%2FMemDB.py;h=47cba417a63c76b4de913582442e51ae60df6545;hp=fec9970f4265606ea970ff9edc92ed60769a9500;hb=HEAD;hpb=b56e07b02c00b2d951d0f2de0d946be4844a763a diff --git a/rwhoisd/MemDB.py b/rwhoisd/MemDB.py index fec9970..47cba41 100644 --- a/rwhoisd/MemDB.py +++ b/rwhoisd/MemDB.py @@ -2,8 +2,6 @@ # # Copyright (C) 2003, David E. Blacka # -# $Id: MemDB.py,v 1.3 2003/04/28 16:44:09 davidb Exp $ -# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -36,7 +34,7 @@ class MemDB: # string IDs, values are rwhoisobject instances. self.main_index = {} - # dictonary holding all of the seen attributes. keys are + # dictionary holding all of the seen attributes. keys are # lowercase attribute names, value is a character indicating # the index type (if indexed), or None if not indexed. Index # type characters a 'N' for normal string index, 'C' for CIDR @@ -157,7 +155,7 @@ class MemDB: def index_data(self): """Prepare the indexes for searching. Currently, this isn't strictly necessary (the indexes will prepare themselves when - necessary), but it should elminate a penalty on initial + necessary), but it should eliminate a penalty on initial searches""" for i in self.indexes.values():