durusmail: durus-users: FileStorage bug?
FileStorage bug?
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
FileStorage bug?
Austine Jane
2004-10-15
>Austine,
>
>You're probably already testing this, but if not, please test with
>these lines in FileStorage.__init__():
>
>         if readonly:
>              self.fp = open(self.filename, 'rb')
>         else:
>              self.fp = open(self.filename, 'a+b')

Thanks a lot! I never thought that kind of simple thing could be the
problem. Stupid me! It works like a charm after that modification.

So maybe the durus source tree should be patched?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/


reply