[Zope-Checkins] SVN: Zope/trunk/lib/python/ZServer/datatypes.py changed too much code

Andreas Jung andreas at andreas-jung.com
Thu Oct 14 15:28:44 EDT 2004


Log message for revision 28193:
  changed too much code
  

Changed:
  U   Zope/trunk/lib/python/ZServer/datatypes.py

-=-
Modified: Zope/trunk/lib/python/ZServer/datatypes.py
===================================================================
--- Zope/trunk/lib/python/ZServer/datatypes.py	2004-10-14 19:26:53 UTC (rev 28192)
+++ Zope/trunk/lib/python/ZServer/datatypes.py	2004-10-14 19:28:43 UTC (rev 28193)
@@ -28,7 +28,7 @@
         try:
             ip = socket.gethostbyname(hostname)
         except socket.error:
-            hostname = ''
+            hostname = 'localhost'
             ip = socket.gethostbyname(hostname)
         try:
             hostname = socket.gethostbyaddr(ip)[0]



More information about the Zope-Checkins mailing list