Commit 31e051db authored by Jim Fulton's avatar Jim Fulton

*** empty log message ***

parent 1a2acb69
'''$Id: DT_Util.py,v 1.28 1998/03/26 16:05:46 jim Exp $''' '''$Id: DT_Util.py,v 1.29 1998/03/26 16:09:11 jim Exp $'''
############################################################################ ############################################################################
# Copyright # Copyright
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
# (540) 371-6909 # (540) 371-6909
# #
############################################################################ ############################################################################
__version__='$Revision: 1.28 $'[11:-2] __version__='$Revision: 1.29 $'[11:-2]
import sys, regex, string, types, math, os import sys, regex, string, types, math, os
from string import rfind, strip, joinfields, atoi,lower,upper,capitalize from string import rfind, strip, joinfields, atoi,lower,upper,capitalize
...@@ -119,7 +119,7 @@ def careful_getslice(md, seq, *indexes): ...@@ -119,7 +119,7 @@ def careful_getslice(md, seq, *indexes):
return v return v
import string, math, rand, whrand import string, math, rand, whrandom
class expr_globals: pass class expr_globals: pass
expr_globals=expr_globals() expr_globals=expr_globals()
...@@ -131,7 +131,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int', ...@@ -131,7 +131,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int',
d['string']=string d['string']=string
d['math']=math d['math']=math
d['rand']=rand d['rand']=rand
d['whrand']=whrand d['whrandom']=whrandom
def test(*args): def test(*args):
l=len(args) l=len(args)
...@@ -329,6 +329,9 @@ except: from pDocumentTemplate import InstanceDict, TemplateDict, render_blocks ...@@ -329,6 +329,9 @@ except: from pDocumentTemplate import InstanceDict, TemplateDict, render_blocks
############################################################################ ############################################################################
# $Log: DT_Util.py,v $ # $Log: DT_Util.py,v $
# Revision 1.29 1998/03/26 16:09:11 jim
# *** empty log message ***
#
# Revision 1.28 1998/03/26 16:05:46 jim # Revision 1.28 1998/03/26 16:05:46 jim
# *** empty log message *** # *** empty log message ***
# #
......
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