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.
  • [get | view] (2007-09-19 20:02:54, 2.6 KB) [[attachment:atomic-current-1.5.diff]]
  • [get | view] (2007-09-19 19:20:33, 2.6 KB) [[attachment:atomic-current-final.diff]]
  • [get | view] (2007-09-18 00:17:05, 0.7 KB) [[attachment:warn.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.