# HG changeset patch # User Paul Boddie # Date 1332453996 -3600 # Node ID f6bdbe66c23fcf7c56299b658bc71ba87d023741 # Parent a9ce4a97ee01eaa30d39cbd8a49fa36c95125972 Removed request.flush usage where the method is not present. This is probably only useful when trying to see exactly where the parser is failing. diff -r a9ce4a97ee01 -r f6bdbe66c23f parsers/graphviz.py --- a/parsers/graphviz.py Wed Mar 07 00:49:10 2012 +0100 +++ b/parsers/graphviz.py Thu Mar 22 23:06:36 2012 +0100 @@ -77,7 +77,10 @@ page = request.page _ = request.getText - request.flush() # to identify error text + # NOTE: Flushing the request is not supported in 1.9. + + if hasattr(request, "flush"): + request.flush() # to identify error text filter = self.FILTERS[0] format = 'png'