diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 16:02:55 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 16:02:55 +0200 |
commit | fdfca62bf38ed44c1e8fb0447dc36eb30d456577 (patch) | |
tree | fb1e1f005d6deaa9756f577be433ba3a7051b041 /pyfirstaidkit/errors.py | |
parent | fe7aa803e12b9387b8c5dbe8a4561edbfb06fc0b (diff) | |
download | firstaidkit-fdfca62bf38ed44c1e8fb0447dc36eb30d456577.tar.gz firstaidkit-fdfca62bf38ed44c1e8fb0447dc36eb30d456577.tar.xz firstaidkit-fdfca62bf38ed44c1e8fb0447dc36eb30d456577.zip |
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"
Diffstat (limited to 'pyfirstaidkit/errors.py')
-rw-r--r-- | pyfirstaidkit/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |