summaryrefslogtreecommitdiff
path: root/pykolab/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/utils.py')
-rw-r--r--pykolab/utils.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pykolab/utils.py b/pykolab/utils.py
index f91ed8d..a9537dd 100644
--- a/pykolab/utils.py
+++ b/pykolab/utils.py
@@ -303,11 +303,7 @@ def multiline_message(message):
return "\n%s\n" % ("\n".join(lines))
def stripped_message(message):
- lines = []
- for line in message.strip().split("\n"):
- lines.append(multiline_message(line).strip())
-
- return "\n%s\n" % ("\n".join(lines))
+ return "\n" + message.strip() + "\n"
def str2unicode(s, encoding='utf-8'):
if isinstance(s, unicode):