diff --git a/IPython/utils/genutils.py b/IPython/utils/genutils.py index d27db86..0e4a7a2 100644 --- a/IPython/utils/genutils.py +++ b/IPython/utils/genutils.py @@ -76,6 +76,10 @@ class IOStream: print >> sys.stderr, \ 'ERROR - failed to write data to stream:', self.stream + def writeln(self, data): + self.write(data) + self.write('\n') + def close(self): pass