changeset 4372:60d487171827

standalone server: fix --interface option, try 2
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 04 Oct 2008 23:02:49 +0200
parents 8bcdfd815639
children 76f88013d2b5 c5268cc28125
files MoinMoin/script/server/standalone.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/server/standalone.py	Sat Oct 04 11:22:38 2008 +0200
+++ b/MoinMoin/script/server/standalone.py	Sat Oct 04 23:02:49 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'