def __init__(self, node):
        self.log = logging.getLogger("ssh")
        RemoteControl.__init__(self, node)
        self.key_filename = None
        cloud_prop = node.get("cloud", {})
        # renamed property name: backward-compatibility
        cloud_key = cloud_prop.get("key_pair", cloud_prop.get("key-pair"))
        if cloud_key:
            # cloud 'key_pair' overrides 'ssh-key' from host properties
            self.key_filename = cloud_key % "%s.pem"
        else:
            self.key_filename = node.get_tree_property("ssh-key")

        self.connect_timeout = node.get_tree_property("ssh-timeout", 60.0)
dataset/ETHPy150Open ohmu/poni/poni/rcontrol.py/SshRemoteControl.__init__/swapped operands of `%`