Mercurial > moin > 1.9
diff MoinMoin/theme/__init__.py @ 4212:1ca179133f01
Fix tests: small fixes after merge
author | Florian Krupicka <florian.krupicka@googlemail.com> |
---|---|
date | Wed, 09 Jul 2008 21:53:52 +0200 |
parents | d9de4fa12f23 |
children | a6c315ff8d66 |
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py Wed Jul 09 21:48:04 2008 +0200 +++ b/MoinMoin/theme/__init__.py Wed Jul 09 21:53:52 2008 +0200 @@ -1826,7 +1826,7 @@ """ if theme_name is None or theme_name == '<default>': theme_name = request.cfg.theme_default - + try: Theme = wikiutil.importPlugin(request.cfg, 'theme', theme_name, 'Theme') except wikiutil.PluginMissingError: @@ -1843,7 +1843,7 @@ @rtype: int @return: A statuscode for how successful the loading was 0 - theme was loaded - 1 - fallback to default theme + 1 - fallback to default theme 2 - serious fallback to builtin theme """ fallback = 0