/[papo]/gnue/reports/src/adapters/destinations/file/text.py
ViewVC logotype

Diff of /gnue/reports/src/adapters/destinations/file/text.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by styxman, Thu Nov 14 23:02:38 2002 UTC revision 1.1.2.1 by anthonyl, Tue Mar 4 21:58:46 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2002 Free Software Foundation  # Copyright 2002-2003 Free Software Foundation
20  #  #
21  # FILE:  # FILE:
22  # transforms/file/text.py  # transforms/file/text.py
# Line 28  Line 28 
28  #  #
29    
30    
31  from gnue.reports.GROutputAdapter import DestinationAdapter as Base  from gnue.reports.base.GROutputAdapter import DestinationAdapter as Base
32    
33  class DestinationAdapter(Base):  class DestinationAdapter(Base):
34    
# Line 40  class DestinationAdapter(Base): Line 40  class DestinationAdapter(Base):
40    # the transform adapter    # the transform adapter
41    #    #
42    def getOutputHandle(self):    def getOutputHandle(self):
43      self.output = open(self.destination,'w')      self.output = open(self.destination,'wb')
44      return self.output      return self.output
45    
46    #    #

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26