Commit 25994741 authored by Jim Fulton's avatar Jim Fulton

fixed namespace screw up due to from DT_Util import *

parent 1f2355a0
...@@ -57,10 +57,11 @@ ...@@ -57,10 +57,11 @@
# rights reserved. # rights reserved.
# #
############################################################################ ############################################################################
__rcs_id__='$Id: sqlgroup.py,v 1.3 1998/04/02 21:33:38 jim Exp $' __rcs_id__='$Id: sqlgroup.py,v 1.4 1998/09/04 20:45:02 jim Exp $'
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from DocumentTemplate.DT_Util import * from DocumentTemplate.DT_Util import parse_params
str=__builtins__['str']
from string import strip, join from string import strip, join
import sys import sys
...@@ -106,6 +107,9 @@ class SQLGroup: ...@@ -106,6 +107,9 @@ class SQLGroup:
########################################################################## ##########################################################################
# #
# $Log: sqlgroup.py,v $ # $Log: sqlgroup.py,v $
# Revision 1.4 1998/09/04 20:45:02 jim
# fixed namespace screw up due to from DT_Util import *
#
# Revision 1.3 1998/04/02 21:33:38 jim # Revision 1.3 1998/04/02 21:33:38 jim
# Added where attribute. # Added where attribute.
# #
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
'and' or 'or' tag, otherwise, no text is inserted. 'and' or 'or' tag, otherwise, no text is inserted.
''' '''
__rcs_id__='$Id: sqltest.py,v 1.5 1998/04/27 18:58:39 jim Exp $' __rcs_id__='$Id: sqltest.py,v 1.6 1998/09/04 20:45:02 jim Exp $'
############################################################################ ############################################################################
# Copyright # Copyright
...@@ -56,9 +56,10 @@ __rcs_id__='$Id: sqltest.py,v 1.5 1998/04/27 18:58:39 jim Exp $' ...@@ -56,9 +56,10 @@ __rcs_id__='$Id: sqltest.py,v 1.5 1998/04/27 18:58:39 jim Exp $'
# rights reserved. # rights reserved.
# #
############################################################################ ############################################################################
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
from DocumentTemplate.DT_Util import * from DocumentTemplate.DT_Util import ParseError, parse_params, name_param
str=__builtins__['str']
from string import find, split, join, atoi, atof from string import find, split, join, atoi, atof
from types import ListType, TupleType, StringType from types import ListType, TupleType, StringType
...@@ -140,6 +141,9 @@ valid_type={'int':1, 'float':1, 'string':1, 'nb': 1}.has_key ...@@ -140,6 +141,9 @@ valid_type={'int':1, 'float':1, 'string':1, 'nb': 1}.has_key
############################################################################ ############################################################################
# $Log: sqltest.py,v $ # $Log: sqltest.py,v $
# Revision 1.6 1998/09/04 20:45:02 jim
# fixed namespace screw up due to from DT_Util import *
#
# Revision 1.5 1998/04/27 18:58:39 jim # Revision 1.5 1998/04/27 18:58:39 jim
# Now use exported sql_quote__ function to quote strings. # Now use exported sql_quote__ function to quote strings.
# #
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
however, if x is ommitted or an empty string, then the value however, if x is ommitted or an empty string, then the value
inserted is 'null'. inserted is 'null'.
''' '''
__rcs_id__='$Id: sqlvar.py,v 1.3 1998/07/29 15:09:14 jim Exp $' __rcs_id__='$Id: sqlvar.py,v 1.4 1998/09/04 20:45:03 jim Exp $'
############################################################################ ############################################################################
# Copyright # Copyright
...@@ -48,12 +48,14 @@ __rcs_id__='$Id: sqlvar.py,v 1.3 1998/07/29 15:09:14 jim Exp $' ...@@ -48,12 +48,14 @@ __rcs_id__='$Id: sqlvar.py,v 1.3 1998/07/29 15:09:14 jim Exp $'
# rights reserved. # rights reserved.
# #
############################################################################ ############################################################################
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from DocumentTemplate.DT_Util import * from DocumentTemplate.DT_Util import ParseError, parse_params, name_param
from string import find, split, join, atoi, atof from string import find, split, join, atoi, atof
StringType=type('') StringType=type('')
str=__builtins__['str']
class SQLVar: class SQLVar:
name='sqlvar' name='sqlvar'
...@@ -120,6 +122,9 @@ valid_type={'int':1, 'float':1, 'string':1, 'nb': 1}.has_key ...@@ -120,6 +122,9 @@ valid_type={'int':1, 'float':1, 'string':1, 'nb': 1}.has_key
############################################################################ ############################################################################
# $Log: sqlvar.py,v $ # $Log: sqlvar.py,v $
# Revision 1.4 1998/09/04 20:45:03 jim
# fixed namespace screw up due to from DT_Util import *
#
# Revision 1.3 1998/07/29 15:09:14 jim # Revision 1.3 1998/07/29 15:09:14 jim
# Added expr to sqlvar # Added expr to sqlvar
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment