[Zope3-checkins] CVS: Zope3/src/zope/documenttemplate -
dt_var.py:1.3 dt_util.py:1.5
Jeremy Hylton
cvs-admin at zope.org
Mon Nov 3 23:04:54 EST 2003
Update of /cvs-repository/Zope3/src/zope/documenttemplate
In directory cvs.zope.org:/tmp/cvs-serv28992/src/zope/documenttemplate
Modified Files:
dt_var.py dt_util.py
Log Message:
Fix various import issues.
Some names where from imported twice.
Other imports were unused.
Often imports were in partly random order, making them harder to read.
=== Zope3/src/zope/documenttemplate/dt_var.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_var.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_var.py Mon Nov 3 23:04:24 2003
@@ -372,7 +372,7 @@
return thousands_commas(str(len(v)))
-StructuredText=None
+StructuredText = None
def structured_text(v, name='(Unknown name)', md={}):
global StructuredText
if StructuredText is None:
=== Zope3/src/zope/documenttemplate/dt_util.py 1.4 => 1.5 ===
--- Zope3/src/zope/documenttemplate/dt_util.py:1.4 Mon Jun 30 12:57:11 2003
+++ Zope3/src/zope/documenttemplate/dt_util.py Mon Nov 3 23:04:24 2003
@@ -176,12 +176,6 @@
d['pow'] = careful_pow
try:
- import random
- d['random'] = random
-except:
- pass
-
-try:
import DateTime
d['DateTime']=DateTime.DateTime
except:
More information about the Zope3-Checkins
mailing list