[Moin-devel] [ moin-Patches-875444 ] PageEditor _make_backup fails on Win32

SourceForge.net noreply at sourceforge.net
Mon Jan 12 07:44:02 EST 2004


Patches item #875444, was opened at 2004-01-12 16:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308482&aid=875444&group_id=8482

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Kläger (tomy)
Assigned to: Nobody/Anonymous (nobody)
Summary: PageEditor _make_backup fails on Win32

Initial Comment:
Using MoinMoin on Win32:

While editing a page, if you preview your changes and 
then additionally try the spell checker you get an 
"OSError: [Errno 17] File exists".

The problem is that on win32 os.rename does not 
overwrite a file if it already exists.

To attached patch corrects this by removing the old file 
on win32 before renaming.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308482&aid=875444&group_id=8482




More information about the Moin-devel mailing list