changeset 970:f29c09448353

Minor modifications.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 09 Jul 2006 21:08:01 +0200
parents 2ec25306c4a0
children d24f2b1d606a
files MoinMoin/action/SyncPages.py MoinMoin/util/bdiff.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sun Jul 09 21:04:53 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Sun Jul 09 21:08:01 2006 +0200
@@ -64,7 +64,7 @@
             if not remote.valid:
                 raise ActionStatus(_("The ''remoteWiki'' is unknown."))
             
-            
+            # ...
             self.sync(params)
         except ActionStatus, e:
             return self.page.send_page(self.request, msg=u'<p class="error">%s</p>\n' % (e.args[0], ))
--- a/MoinMoin/util/bdiff.py	Sun Jul 09 21:04:53 2006 +0200
+++ b/MoinMoin/util/bdiff.py	Sun Jul 09 21:08:01 2006 +0200
@@ -12,7 +12,7 @@
 import zlib, difflib, struct
 
 BDIFF_PATT = ">lll"
-BDIFF_PATT_SIZE = struct.calcsize(">lll")
+BDIFF_PATT_SIZE = struct.calcsize(BDIFF_PATT)
 
 def compress(text):
     return zlib.compress(text) # here we could tune the compression level