Fix URLMixin to use jsonport

This commit is contained in:
Cédric Krier committed 2011-08-07 09:24:28 +02:00
1 parent d5bd8b8d2e
commit 12c33abce0
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ class URLMixin(object):
hostname = CONFIG['hostname'] or unicode(socket.getfqdn(), 'utf8')
url_part['hostname'] = '.'.join(encodings.idna.ToASCII(part) for part in
hostname.split('.'))
url_part['port'] = CONFIG['netport']
url_part['port'] = CONFIG['jsonport']
if isinstance(self, Model):
url_part['type'] = 'model'