# HG changeset patch # User Paul Boddie # Date 1342374933 -7200 # Node ID ead1f4d7710ef416d9438f6a52001f4ec49f9aff # Parent ddbddda9e2671a8d2eaf8858b76877b87acc6fdb Tidied acquisition of the page format. diff -r ddbddda9e267 -r ead1f4d7710e MoinSupport.py --- a/MoinSupport.py Wed Jul 11 00:48:15 2012 +0200 +++ b/MoinSupport.py Sun Jul 15 19:55:33 2012 +0200 @@ -567,7 +567,7 @@ "Using 'request', return a parser class for the current page's format." - return getParserClass(request, request.page.pi["format"]) + return getParserClass(request, getFormat(request.page)) def getParserClass(request, format):