diff MoinMoin/themes/__init__.py @ 859:95d1033b7808 storage-ng

fix show/meta view
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Sep 2011 00:41:38 +0200
parents a4ec2c6f0bb7
children 9a7889c04a25
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sat Sep 24 18:52:46 2011 +0200
+++ b/MoinMoin/themes/__init__.py	Sun Sep 25 00:41:38 2011 +0200
@@ -271,8 +271,8 @@
 
 
 def get_editor_info(rev, external=False):
-    addr = rev.get(ADDRESS)
-    hostname = rev.get(HOSTNAME)
+    addr = rev.meta.get(ADDRESS)
+    hostname = rev.meta.get(HOSTNAME)
     text = _('anonymous')  # link text
     title = ''  # link title
     css = 'editor'  # link/span css class
@@ -290,7 +290,7 @@
             title = '[%s]' % (addr, )
             css = 'editor ip'
 
-    userid = rev.get(USERID)
+    userid = rev.meta.get(USERID)
     if userid:
         u = user.User(userid)
         name = u.name