From a6440d7404e7f0f2f88edd5d1eddf808cbcbb589 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Date: Mon, 14 Jul 2008 13:41:50 +0200 Subject: 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") --- pyfirstaidkit/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyfirstaidkit/errors.py') diff --git a/pyfirstaidkit/errors.py b/pyfirstaidkit/errors.py index a32d1ec..061703e 100644 --- a/pyfirstaidkit/errors.py +++ b/pyfirstaidkit/errors.py @@ -18,8 +18,8 @@ class InvalidFlowStateException(Exception): def __init__(self, flow): - self.message="There appears to be an inconsistency with the %s \ - varialbe. " % flow + self.message="There appears to be an inconsistency with the %s " + "varialbe. " % flow def __str__(self): return self.message -- cgit