From b80ac67f6ac8baa296df1ab7e2c622b85c0eed20 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 25 May 2009 21:50:52 +0100 Subject: [PATCH] remove (mercifully) unused routine Signed-off-by: Mark Hymers --- daklib/utils.py | 10 ---------- 1 file changed, 10 deletions(-) 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) -- 2.39.5