Modifiche stilistiche all'output.

Leonardo [2010-05-21 21:44]
Modifiche stilistiche all'output.
Filename
pywhois.py
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():
ViewGit