Attachment 'warn.diff'
Download 1 --- /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py.orig Mon Sep 17 20:03:53 2007
2 +++ /usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py Mon Sep 17 20:10:48 2007
3 @@ -947,7 +947,10 @@
4 f = open(clfn)
5 revstr = f.read()
6 f.close()
7 - rev = int(revstr)
8 + try:
9 + rev = int(revstr)
10 + except ValueError, err:
11 + raise self.SaveError, _("Unabled to determine current page revision from the current page marker. The page %s is damaged and cannot be edited right now.") % self.page_name
12 if not was_deprecated:
13 if self.do_revision_backup or rev == 0:
14 rev += 1
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.