Permalink
Browse files

[svn] whitespace

--HG--
branch : trunk
  • Loading branch information...
1 parent 3d426fe commit 50d2a5e65284e2503452d3b142e4306b40d680ea pjenvey committed Jul 26, 2006
Showing with 6 additions and 3 deletions.
  1. +6 −3 pylons/error.py
View
@@ -10,7 +10,6 @@
__all__ = []
import myghty.exception, sys
-
from paste.evalexception.middleware import *
from paste.exceptions.formatter import *
@@ -271,10 +270,13 @@ def format_html(exc_data, include_hidden_frames=False, **ops):
class InvalidTemplate(Exception):
pass
+
from pylons.util import get_prefix
+
class PylonsEvalException(EvalException):
- def __init__(self, application, global_conf=None, xmlhttp_key=None, error_template=error_template, **errorparams):
+ def __init__(self, application, global_conf=None, xmlhttp_key=None,
+ error_template=error_template, **errorparams):
self.application = application
self.error_template=error_template
self.debug_infos = {}
@@ -299,7 +301,8 @@ def __init__(self, application, global_conf=None, xmlhttp_key=None, error_templa
'set_tab':'',
'prefix':''}
except:
- raise Exception('Invalid template. Please ensure all % signs are properly quoted as %% and no extra substitution strings are present.')
+ raise Exception('Invalid template. Please ensure all % signs are properly '
+ 'quoted as %% and no extra substitution strings are present.')
def eval_javascript(self, base_path, counter):
base_path += '/_debug' # Note the difference!

0 comments on commit 50d2a5e

Please sign in to comment.