On Sun, 5 Dec 2004 18:51:51 +0100, holger krekel <[EMAIL PROTECTED]> wrote:
Hi Florian,
[Florian Schulze Sun, Dec 05, 2004 at 06:19:22PM +0100]
Hi!
I have attached a patch for autopath.py. It fixes the __clone function
for
windows. I don't know whether it still works on unix, but I think it
should.
have you actually really attached something?
holger
Yes I did, I just checked. I will paste it inline this time, it's small.
Regards,
Florian Schulze
Index: autopath.py
===================================================================
--- autopath.py (revision 7749)
+++ autopath.py (working copy)
@@ -91,13 +91,13 @@
def sync_walker(arg, dirname, fnames):
if _myname in fnames:
fn = join(dirname, _myname)
- f = open(fn, 'rwb+')
+ f = open(fn, 'rb')
try:
if f.read() == arg:
print "checkok", fn
else:
print "syncing", fn
- f = open(fn, 'w')
+ f = open(fn, 'wb')
f.write(arg)
finally:
f.close()
_______________________________________________
[EMAIL PROTECTED]
http://codespeak.net/mailman/listinfo/pypy-dev