changeset 141:5e8da9d010bd

Handles new node display now.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 30 Jul 2001 01:24:33 +0000
parents a4383d62a407
children 664faa54d672
files roundup/htmltemplate.py
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/htmltemplate.py	Mon Jul 30 00:57:51 2001 +0000
+++ b/roundup/htmltemplate.py	Mon Jul 30 01:24:33 2001 +0000
@@ -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 @@
     ''' list the history of the item
     '''
     def __call__(self, **args):
+        if self.nodeid is None:
+            return "[History: node doesn't exist]"
+
         l = ['<table width=100% border=0 cellspacing=0 cellpadding=2>',
             '<tr class="list-header">',
             '<td><span class="list-item"><strong>Date</strong></span></td>',
@@ -709,6 +712,9 @@
 
 #
 # $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.
 #

Roundup Issue Tracker: http://roundup-tracker.org/