From: richard Date: Mon, 30 Jul 2001 01:24:33 +0000 (+0000) Subject: Handles new node display now. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1338c6eb3833d03c2ea4e43ec51e9626eb58e2f;p=roundup.git Handles new node display now. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@147 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index c79fdd6..59b91cd 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -1,4 +1,4 @@ -# $Id: htmltemplate.py,v 1.11 2001-07-29 09:31:35 richard Exp $ +# $Id: htmltemplate.py,v 1.12 2001-07-30 01:24:33 richard Exp $ import os, re, StringIO, urllib, cgi, errno @@ -321,6 +321,9 @@ class History(Base): ''' list the history of the item ''' def __call__(self, **args): + if self.nodeid is None: + return "[History: node doesn't exist]" + l = ['', '', '', @@ -709,6 +712,9 @@ def newitem(client, templates, db, classname, form, replace=re.compile( # # $Log: not supported by cvs2svn $ +# Revision 1.11 2001/07/29 09:31:35 richard +# oops +# # Revision 1.10 2001/07/29 09:28:23 richard # Fixed sorting by clicking on column headings. #
Date