head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q1:1.3.0.8 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.4 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3; locks; strict; comment @# @; 1.4 date 2012.06.01.20.28.27; author drochner; state dead; branches; next 1.3; 1.3 date 2011.06.09.11.54.59; author drochner; state Exp; branches; next 1.2; 1.2 date 2010.05.18.16.38.53; author drochner; state dead; branches; next 1.1; 1.1 date 2010.05.04.11.05.00; author drochner; state Exp; branches; next ; desc @@ 1.4 log @update to 3.3.2 changes: many fixes and improvements, most visibly: the use of py-bsddb3 is now officially supported @ text @$NetBSD: patch-ao,v 1.3 2011/06/09 11:54:59 drochner Exp $ --- src/plugins/lib/libhtml.py.orig 2011-05-01 06:54:17.000000000 +0000 +++ src/plugins/lib/libhtml.py @@@@ -26,8 +26,6 @@@@ # #------------------------------------------------------------------------ -from __future__ import print_function - """ HTML operations. @@@@ -103,6 +101,9 @@@@ _START_CLOSE = set([ # #------------------------------------------------------------------------ +def myprint(txt): + print txt + class Html(list): """ HTML class: Manages a rooted tree of HTML objects @@@@ -373,7 +374,7 @@@@ class Html(list): # iterkeys = itervalues = iteritems = __iter__ # - def write(self, method=print, indent='\t', tabs=''): + def write(self, method=myprint, indent='\t', tabs=''): """ Output function: performs an insertion-order tree traversal and calls supplied method for each item found. @ 1.3 log @update to 3.2.6 changes: -import speed improvements -bugfixes -translation updates @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to 3.2.3 changes: -bugfixes -translation updates @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.1 2010/05/04 11:05:00 drochner Exp $ d3 3 a5 4 --- src/plugins/webreport/NarrativeWeb.py.orig 2010-04-22 07:18:53.000000000 +0000 +++ src/plugins/webreport/NarrativeWeb.py @@@@ -37,6 +37,8 @@@@ Narrative Web Page generator. # python modules d8 25 a32 5 +# for Python-2.5 +from __future__ import with_statement import gc import os import sys @ 1.1 log @update to 3.2.1 changes: -New Plugin System -Faster -New Views -Other Improvements -bugfixes -translation updates @ text @d1 1 a1 1 $NetBSD$ @