Skip to content

Commit

Permalink
Instead of defining html_quote function, import it from the html_quot…
Browse files Browse the repository at this point in the history
…e module.
  • Loading branch information
mcdonc committed Jun 18, 2001
1 parent 6aaeef4 commit 1070b1a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions DT_Var.py
Expand Up @@ -217,17 +217,15 @@
''' # '
__rcs_id__='$Id: DT_Var.py,v 1.40 2001/04/27 20:59:34 shane Exp $'
__version__='$Revision: 1.40 $'[11:-2]
__rcs_id__='$Id: DT_Var.py,v 1.41 2001/06/18 18:12:22 chrism Exp $'
__version__='$Revision: 1.41 $'[11:-2]

from DT_Util import parse_params, name_param, str
import re, string, sys
from string import find, split, join, atoi, rfind
from urllib import quote, quote_plus
from cgi import escape

def html_quote(v, name='(Unknown name)', md={}):
return escape(str(v), 1)
from html_quote import html_quote # for import by other modules, dont remove!

class Var:
name='var'
Expand Down

0 comments on commit 1070b1a

Please sign in to comment.