From: Mark Hymers Date: Mon, 25 May 2009 20:50:52 +0000 (+0100) Subject: remove (mercifully) unused routine X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80ac67f6ac8baa296df1ab7e2c622b85c0eed20;p=dak remove (mercifully) unused routine Signed-off-by: Mark Hymers --- diff --git a/daklib/utils.py b/daklib/utils.py index bdb573af..fc8c915a 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -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)