diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 13:41:50 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 13:41:50 +0200 |
commit | a6440d7404e7f0f2f88edd5d1eddf808cbcbb589 (patch) | |
tree | 43dc35da6b054715f0bb67df5b93e1edb002d02a /pyfirstaidkit/issue.py | |
parent | f87a133d6b734c1aa15c1070726f5b77b5648cbc (diff) | |
download | firstaidkit-a6440d7404e7f0f2f88edd5d1eddf808cbcbb589.tar.gz firstaidkit-a6440d7404e7f0f2f88edd5d1eddf808cbcbb589.tar.xz firstaidkit-a6440d7404e7f0f2f88edd5d1eddf808cbcbb589.zip |
Avoid the ugly space left by adding "\" to a string separation.
When deviding a string into two lines one must use pythons automatic
string concatenation (python concatenates strings that are in different
line but are inside parenthesis). Do not use the "\" in the string as
this will cause strange and unwanted output.
Yes:
print("long string"
"rest of string")
No:
print("long string \
rest of string")
Diffstat (limited to 'pyfirstaidkit/issue.py')
-rw-r--r-- | pyfirstaidkit/issue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfirstaidkit/issue.py b/pyfirstaidkit/issue.py index e706fa4..3896d5c 100644 --- a/pyfirstaidkit/issue.py +++ b/pyfirstaidkit/issue.py @@ -96,8 +96,8 @@ Return values: class Issue(SimpleIssue): name = "Parent issue" - description = "This happens when you use the wrong object in the issues \ - list" + description = "This happens when you use the wrong object in the issues " + "list" def __init__(self, plugin, reporting = None): SimpleIssue.__init__(self, self.name, self.description) |