changeset 4373:76f88013d2b5

merged moin/1.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 04 Oct 2008 23:04:05 +0200
parents 2095891a5493 (current diff) 60d487171827 (diff)
children 4186e90ead06
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/server/standalone.py	Sat Oct 04 22:17:45 2008 +0200
+++ b/MoinMoin/script/server/standalone.py	Sat Oct 04 23:04:05 2008 +0200
@@ -115,7 +115,7 @@
                 Config.group = self.options.group
             if self.options.port:
                 Config.port = self.options.port
-            if hasattr(self.options, 'interface'): # needs to work for "" value also
+            if self.options.interface is not None: # needs to work for "" value also
                 Config.interface = self.options.interface
             if serverClass:
                 Config.serverClass = serverClass + 'Server'