From 00c6a9729ccca01e678b1fa315a2f60331a5f12b Mon Sep 17 00:00:00 2001 From: Leonardo Date: Fri, 21 May 2010 23:44:37 +0200 Subject: [PATCH] Modifiche stilistiche all'output. --- pywhois.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pywhois.py b/pywhois.py index 11f8417..619bfb0 100644 --- a/pywhois.py +++ b/pywhois.py @@ -20,11 +20,11 @@ def FormatMessage(message): Prepare a message to be written from the server. """ - output = "\n" + output = "" for line in message.split("\n"): line = line.strip() - output += """\n %% """ + line.ljust(65) + """ %%""" - return output + "\n\n" + output += """\n :: """ + line + return output + "\n" class Logger(): -- 2.1.4