diff MoinMoin/theme/__init__.py @ 1959:7ccf35e8f674

use a list to have defined order for cfg.sistersites (e.g. in theme output)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 07 Apr 2007 00:52:17 +0200
parents 740d9939ffe9
children dbf2b7426385
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Apr 07 00:21:47 2007 +0200
+++ b/MoinMoin/theme/__init__.py	Sat Apr 07 00:52:17 2007 +0200
@@ -446,7 +446,7 @@
             items.append(item % (cls, link))
 
         # Add sister pages.
-        for sistername in request.cfg.sistersites: # TODO: sort sistersites?
+        for sistername, sisterurl in request.cfg.sistersites:
             if sistername == request.cfg.interwikiname: # it is THIS wiki
                 cls = 'sisterwiki current'
                 items.append(item % (cls, sistername))