[wwwsearch-commits] r17756 - wwwsearch/ClientForm/trunk

jjlee at codespeak.net jjlee at codespeak.net
Thu Sep 22 00:55:48 CEST 2005


Author: jjlee
Date: Thu Sep 22 00:55:46 2005
New Revision: 17756

Modified:
   wwwsearch/ClientForm/trunk/ClientForm.py
Log:
Remove unused startswith() function

Modified: wwwsearch/ClientForm/trunk/ClientForm.py
==============================================================================
--- wwwsearch/ClientForm/trunk/ClientForm.py	(original)
+++ wwwsearch/ClientForm/trunk/ClientForm.py	Thu Sep 22 00:55:46 2005
@@ -181,10 +181,6 @@
         return repl
     return re.sub(r'&\S+?;', replace_entities, data)
 
-def startswith(string, initial):
-    if len(initial) > len(string): return False
-    return string[:len(initial)] == initial
-
 def issequence(x):
     try:
         x[0]


More information about the wwwsearch-commits mailing list