Skip to content

Commit 1685aa2

Browse files
author
Richard Jones
committed
add flush() to DevNull
1 parent 2c47c14 commit 1685aa2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Fixed:
2424
(bug #798659).
2525
- Remove empty lines before sending strings off to the csv parser
2626
(bug #821364).
27+
- added flush() to DevNull (sf bug #835365)
2728

2829
Cleanup:
2930
- Replace curuserid attribute on Database with the extended getuid() method.

cgi-bin/roundup.cgi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: roundup.cgi,v 1.36 2003-09-04 23:28:50 richard Exp $
19+
# $Id: roundup.cgi,v 1.37 2003-11-03 23:37:06 richard Exp $
2020

2121
# python version check
2222
from roundup import version_check
@@ -57,6 +57,8 @@ class DevNull:
5757
pass
5858
def close(self):
5959
pass
60+
def flush(self):
61+
pass
6062
#LOG = open('/var/log/roundup.cgi.log', 'a')
6163
LOG = DevNull()
6264

0 commit comments

Comments
 (0)