changeset 2235:9e0bbeb7c5c3

Temporary fixes for failing tests.
author Ashutosh Singla <ashu1461@gmail.com>
date Sun, 04 Aug 2013 01:05:33 +0530
parents 33c700bfce29
children 5f2fb2d7ed87
files MoinMoin/converter/nonexistent_in.py MoinMoin/storage/middleware/indexing.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/nonexistent_in.py	Sun Aug 04 01:02:48 2013 +0530
+++ b/MoinMoin/converter/nonexistent_in.py	Sun Aug 04 01:05:33 2013 +0530
@@ -25,7 +25,7 @@
         return cls()
 
     def __call__(self, rev, contenttype=None, arguments=None):
-        item_name = rev.item.name
+        item_name = rev.item.fqname.value
         attrib = {
             xlink.href: Iri(scheme='wiki', authority='', path='/' + item_name, query='do=modify'),
         }
--- a/MoinMoin/storage/middleware/indexing.py	Sun Aug 04 01:02:48 2013 +0530
+++ b/MoinMoin/storage/middleware/indexing.py	Sun Aug 04 01:05:33 2013 +0530
@@ -177,6 +177,7 @@
             class PseudoItem(object):
                 def __init__(self, fqname):
                     self.fqname = fqname
+                    self.name = fqname.value
             self.item = PseudoItem(fqname)
 
         def read(self, *args, **kw):