author | Florent Cayre <florent.cayre@logilab.fr> |
Wed, 13 Mar 2013 18:17:16 +0100 | |
changeset 8828 | 1437c47925c3 |
parent 8826 | 02ddda541433 |
child 8829 | bb14dc9848ec |
--- a/etwist/twconfig.py Thu Mar 28 13:48:48 2013 +0100 +++ b/etwist/twconfig.py Wed Mar 13 18:17:16 2013 +0100 @@ -103,8 +103,8 @@ return join(self.apphome, '%s-%s.py' % (self.appid, self.name)) def default_base_url(self): - from socket import gethostname - return 'http://%s:%s/' % (self['host'] or gethostname(), self['port'] or 8080) + from socket import getfqdn + return 'http://%s:%s/' % (self['host'] or getfqdn(), self['port'] or 8080) CONFIGURATIONS.append(TwistedConfiguration)