From: richard Date: Mon, 3 Nov 2003 23:37:06 +0000 (+0000) Subject: add flush() to DevNull X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e21a16cdc1bac3d8edb126489ae8401db5e1a423;p=roundup.git add flush() to DevNull git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1960 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 93ac301..f1e46ad 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,6 +24,7 @@ Fixed: (bug #798659). - Remove empty lines before sending strings off to the csv parser (bug #821364). +- added flush() to DevNull (sf bug #835365) Cleanup: - Replace curuserid attribute on Database with the extended getuid() method. diff --git a/cgi-bin/roundup.cgi b/cgi-bin/roundup.cgi index 81002a4..bc01294 100755 --- a/cgi-bin/roundup.cgi +++ b/cgi-bin/roundup.cgi @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup.cgi,v 1.36 2003-09-04 23:28:50 richard Exp $ +# $Id: roundup.cgi,v 1.37 2003-11-03 23:37:06 richard Exp $ # python version check from roundup import version_check @@ -57,6 +57,8 @@ class DevNull: pass def close(self): pass + def flush(self): + pass #LOG = open('/var/log/roundup.cgi.log', 'a') LOG = DevNull()