equal
deleted
inserted
replaced
101 |
101 |
102 def server_file(self): |
102 def server_file(self): |
103 return join(self.apphome, '%s-%s.py' % (self.appid, self.name)) |
103 return join(self.apphome, '%s-%s.py' % (self.appid, self.name)) |
104 |
104 |
105 def default_base_url(self): |
105 def default_base_url(self): |
106 from socket import gethostname |
106 from socket import getfqdn |
107 return 'http://%s:%s/' % (self['host'] or gethostname(), self['port'] or 8080) |
107 return 'http://%s:%s/' % (self['host'] or getfqdn(), self['port'] or 8080) |
108 |
108 |
109 |
109 |
110 CONFIGURATIONS.append(TwistedConfiguration) |
110 CONFIGURATIONS.append(TwistedConfiguration) |
111 |
111 |
112 try: |
112 try: |