Commit d34160ed by Matt Coddington

cast ssh port number as integer

parent 89c01303
......@@ -95,7 +95,7 @@ class ParamikoConnection(object):
if 'hostname' in credentials:
self.host = credentials['hostname']
if 'port' in credentials:
self.port = credentials['port']
self.port = int(credentials['port'])
if 'user' in credentials:
user = credentials['user']
if 'identityfile' in credentials:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment