Commit f760f2f0 by Csók Tamás

client: flake8 correction

parent 04398abd
......@@ -6,9 +6,9 @@ Main program of the Client written for CIRCLE Cloud.
The Client job is to help the ease of use of the cloud system.
"""
import platform
import argparse
import logging
import platform
from time import gmtime, strftime
from windowsclasses import ClientRegistry
......
......@@ -37,11 +37,11 @@ def connect(vm):
if vm.protocol == "SSH":
logger.info('SSH protocol received')
arguments = str("-ssh -P %(port)s -pw %(password)s"
" %(user)s@%(host)s" % {
'port': vm.port,
'password': vm.password,
'user': vm.user,
'host': vm.host})
" %(user)s@%(host)s" % {
'port': vm.port,
'password': vm.password,
'user': vm.user,
'host': vm.host})
directory = os.path.dirname(os.path.abspath(__file__))
logger.info('Popen: "%s\\putty.exe"', directory)
logger.debug('Determined arguments: %s', arguments)
......
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 sign in to comment