diff MoinMoin/themes/__init__.py @ 102:c084c1369078

move metadata name constant defs to MoinMoin.config
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 11 Mar 2011 04:44:59 +0100
parents d79a50e0a42d
children ddc707d70d9d
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Fri Mar 11 03:52:14 2011 +0100
+++ b/MoinMoin/themes/__init__.py	Fri Mar 11 04:44:59 2011 +0100
@@ -20,6 +20,7 @@
 
 from MoinMoin.i18n import _, L_, N_
 from MoinMoin import wikiutil, user
+from MoinMoin.config import USERID, ADDRESS, HOSTNAME
 from MoinMoin.util.interwiki import split_interwiki, resolve_interwiki, join_wiki, getInterwikiHome
 
 
@@ -312,7 +313,6 @@
 
 
 def get_editor_info(rev, external=False):
-    from MoinMoin.items import USERID, ADDRESS, HOSTNAME
     addr = rev.get(ADDRESS)
     hostname = rev.get(HOSTNAME)
     text = _('anonymous')  # link text