[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix gen-make.py Python 1.5.2 compatability

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2004-01-18 20:09:25 CET

Not knowing hardly any python, here is my first attempt at a patch to
gen-make.py to bring it back to Python 1.5.2 compatability. This fixes
the bug introduced in r8109. This bug was keeping the RedHat 7.3 RPM from
being built.

Log:
====
* gen-make.py : Fix issue with Python 1.5.2 compatability.

Index: gen-make.py
===================================================================
--- gen-make.py (revision 8372)
+++ gen-make.py (working copy)
@@ -156,9 +156,9 @@
  
   # Remember all options so other scripts can use them
   opt_conf = open('gen-make.opts', 'w')
- print >> opt_conf, "[options]"
+ opt_conf.write( '[options]' )
   for opt, val in rest.list:
- print >> opt_conf, opt, '=', val
+ opt_conf.writeline( opt, '=', val )
   opt_conf.close()
  
   if gentype not in gen_modules.keys():

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 18 20:21:11 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.