changeset 60:17cb30d8905b

had to_begin and to_end reversed, oops
author MattMaker <trip@entropyreductionservices.com>
date Tue, 01 Mar 2011 17:33:08 -0600
parents c72182a5251c
children c33883d95699
files MoinMoin/storage/backends/fs19.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/backends/fs19.py	Tue Mar 01 17:21:42 2011 -0600
+++ b/MoinMoin/storage/backends/fs19.py	Tue Mar 01 17:33:08 2011 -0600
@@ -548,7 +548,7 @@
             if meta['__rev'] == revno:
                 break
         else:
-            self.to_end()
+            self.to_begin()
             raise KeyError
         del meta['__rev']
         meta = dict([(k, v) for k, v in meta.items() if v]) # remove keys with empty values
@@ -565,7 +565,7 @@
                 meta[EXTRA] == attachname):
                 break
         else:
-            self.to_begin()
+            self.to_end()
             raise KeyError
         del meta['__rev']
         del meta[EXTRA] #  we have full name in NAME