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 | |
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')
-rw-r--r-- | pyfirstaidkit/errors.py | 2 | ||||
-rw-r--r-- | pyfirstaidkit/issue.py | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/pyfirstaidkit/issue.py b/pyfirstaidkit/issue.py index 3896d5c..2c956a6 100644 --- a/pyfirstaidkit/issue.py +++ b/pyfirstaidkit/issue.py @@ -96,7 +96,7 @@ Return values: class Issue(SimpleIssue): name = "Parent issue" - description = "This happens when you use the wrong object in the issues " + description = "This happens when you use the wrong object in the issues " \ "list" def __init__(self, plugin, reporting = None): |