Update of /cvsroot/pywin32/pywin32/com/win32com/client
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6236
Modified Files:
genpy.py
Log Message:
sys.version has embedded \n on Linux.
Index: genpy.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/genpy.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** genpy.py 8 Apr 2004 03:15:19 -0000 1.39
--- genpy.py 8 Apr 2004 03:32:42 -0000 1.40
***************
*** 766,770 ****
print >> self.file, '# -*- coding: mbcs -*-' # Is this always correct?
print >> self.file, '# Created by makepy.py version %s' % (makepy_version,)
! print >> self.file, '# By python version %s' % (sys.version,)
if self.sourceFilename:
print >> self.file, "# From type library '%s'" % (os.path.split(self.sourceFilename)[1],)
--- 766,771 ----
print >> self.file, '# -*- coding: mbcs -*-' # Is this always correct?
print >> self.file, '# Created by makepy.py version %s' % (makepy_version,)
! print >> self.file, '# By python version %s' % \
! (sys.version.replace("\n", "-"),)
if self.sourceFilename:
print >> self.file, "# From type library '%s'" % (os.path.split(self.sourceFilename)[1],)
|