summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/errors.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-07-14 16:02:55 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-07-14 16:02:55 +0200
commitfdfca62bf38ed44c1e8fb0447dc36eb30d456577 (patch)
treefb1e1f005d6deaa9756f577be433ba3a7051b041 /pyfirstaidkit/errors.py
parentfe7aa803e12b9387b8c5dbe8a4561edbfb06fc0b (diff)
downloadfirstaidkit-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.py2
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