comparison MoinMoin/web/contexts.py @ 4607:d8e5e9cfadf1

always do 'from werkzeug import ...', except for contrib, exceptions, routing, script
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 23 Feb 2009 22:39:32 +0100
parents d706f5d4f4ec
children 3a79d3ca5a83
comparison
equal deleted inserted replaced
4606:619b1dacf4ee 4607:d8e5e9cfadf1
8 @license: GNU GPL, see COPYING for details. 8 @license: GNU GPL, see COPYING for details.
9 """ 9 """
10 10
11 import time, inspect, StringIO, sys, warnings 11 import time, inspect, StringIO, sys, warnings
12 12
13 from werkzeug.utils import Headers, http_date, create_environ, redirect 13 from werkzeug import Headers, http_date, create_environ, redirect, abort
14 from werkzeug.exceptions import Unauthorized, NotFound, abort 14 from werkzeug.exceptions import Unauthorized, NotFound
15 15
16 from MoinMoin import i18n, error, user, config, wikiutil 16 from MoinMoin import i18n, error, user, config, wikiutil
17 from MoinMoin.config import multiconfig 17 from MoinMoin.config import multiconfig
18 from MoinMoin.formatter import text_html 18 from MoinMoin.formatter import text_html
19 from MoinMoin.theme import load_theme_fallback 19 from MoinMoin.theme import load_theme_fallback