提交 b80ac67f 编写于 作者: M Mark Hymers

remove (mercifully) unused routine

Signed-off-by: NMark Hymers <mhy@debian.org>
上级 947925a1
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册