changeset 570:1b720cf4d730

Make port an int.
author Simon Cross <hodgestar@gmail.com>
date Tue, 20 Nov 2012 23:41:10 +0200
parents c296d10bd5f9
children cb8cc5b4d6be
files mamba/forest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/forest.py	Tue Nov 20 23:38:53 2012 +0200
+++ b/mamba/forest.py	Tue Nov 20 23:41:10 2012 +0200
@@ -178,7 +178,7 @@
         irker = self.SubConfig()
         irker.project = conf['project']
         irker.host = conf.get('host', 'localhost')
-        irker.port = conf.get('port', IRKER_PORT)
+        irker.port = int(conf.get('port', IRKER_PORT))
         irker.channels = conf['channels']
         return irker