]> git.decadent.org.uk Git - dak.git/commitdiff
remove (mercifully) unused routine
authorMark Hymers <mhy@debian.org>
Mon, 25 May 2009 20:50:52 +0000 (21:50 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 15:49:25 +0000 (16:49 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/utils.py

index bdb573af2210330f78f8279ef429cb4e77095093..fc8c915a2099355393e1457ea6f6beede779700a 100755 (executable)
@@ -701,16 +701,6 @@ def which_alias_file():
 
 ################################################################################
 
-# Escape characters which have meaning to SQL's regex comparison operator ('~')
-# (woefully incomplete)
-
-def regex_safe (s):
-    s = s.replace('+', '\\\\+')
-    s = s.replace('.', '\\\\.')
-    return s
-
-################################################################################
-
 def TemplateSubst(map, filename):
     """ Perform a substition of template """
     templatefile = open_file(filename)