changeset 262:8af373350823

Fixed MoinMoinBugs/ PageEditorAndInstallPackage. imported from: moin--main--1.5--patch-265
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Thu, 01 Dec 2005 22:25:13 +0000
parents 5cece25f6406
children a6a3a9f539ae
files MoinMoin/packages.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/packages.py	Thu Dec 01 22:23:51 2005 +0000
+++ b/MoinMoin/packages.py	Thu Dec 01 22:25:13 2005 +0000
@@ -209,7 +209,10 @@
         trivial = self._toBoolean(trivial)
 
         page = PageEditor(self.request, pagename, do_editor_backup=0, uid_override=author)
-        page.saveText(self.extract_file(filename), 0, trivial=trivial, comment=comment)
+        try:
+            page.saveText(self.extract_file(filename), 0, trivial=trivial, comment=comment)
+        except PageEditor.Unchanged:
+            pass
 
         page.clean_acl_cache()