From fdfca62bf38ed44c1e8fb0447dc36eb30d456577 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Date: Mon, 14 Jul 2008 16:02:55 +0200 Subject: Be sure to use the "\" character when coding a string in multiple lines. This behavior is prefered to enclosing the string with parenthesis. When using "\" remember to close the strings with quotation marks to have a clean output. Prefered: message = "long string " \ "end of long string" Not prefered: message = ("long string " "end of long string" --- pyfirstaidkit/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyfirstaidkit/errors.py') diff --git a/pyfirstaidkit/errors.py b/pyfirstaidkit/errors.py index 061703e..04a396e 100644 --- a/pyfirstaidkit/errors.py +++ b/pyfirstaidkit/errors.py @@ -18,7 +18,7 @@ class InvalidFlowStateException(Exception): def __init__(self, flow): - self.message="There appears to be an inconsistency with the %s " + self.message="There appears to be an inconsistency with the %s " \ "varialbe. " % flow def __str__(self): return self.message -- cgit