Commit e7a73286 by Csók Tamás

client: flake8 correction

parent 48fc4f71
......@@ -136,8 +136,8 @@ def main():
shutil.copy(location, args.location)
print "Creating custom URL protocol handlers"
try:
custom_ssh = OrderedDict(
[('ssh', ["default",
custom_ssh = OrderedDict([
('ssh', ["default",
"URL:ssh Protocol",
"URL Protocol",
""]),
......@@ -147,8 +147,8 @@ def main():
'command': "\"pythonw.exe\" \"%s" % args.location
+ "cloud.py\" \"%1\""}})])
custom_protocol_register(custom_ssh)
custom_rdp = OrderedDict(
[('rdp', ["default",
custom_rdp = OrderedDict([
('rdp', ["default",
"URL:rdp Protocol",
"URL Protocol",
""]),
......@@ -158,8 +158,8 @@ def main():
'command': "\"pythonw.exe\" \"%s" % args.location
+ "cloud.py\" \"%1\""}})])
custom_protocol_register(custom_rdp)
custom_nx = OrderedDict(
[('nx', ["default",
custom_nx = OrderedDict([
('nx', ["default",
"URL:nx Protocol",
"URL Protocol",
""]),
......
......@@ -136,8 +136,8 @@ def main():
shutil.copy(location, args.location)
print "Creating custom URL protocol handlers"
try:
custom_ssh = OrderedDict(
[('ssh', ["default",
custom_ssh = OrderedDict([
('ssh', ["default",
"URL:ssh Protocol",
"URL Protocol",
""]),
......@@ -147,8 +147,8 @@ def main():
'command': "\"pythonw.exe\" \"%s" % args.location
+ "cloud.py\" \"%1\""}})])
custom_protocol_register(custom_ssh)
custom_rdp = OrderedDict(
[('rdp', ["default",
custom_rdp = OrderedDict([
('rdp', ["default",
"URL:rdp Protocol",
"URL Protocol",
""]),
......@@ -158,8 +158,8 @@ def main():
'command': "\"pythonw.exe\" \"%s" % args.location
+ "cloud.py\" \"%1\""}})])
custom_protocol_register(custom_rdp)
custom_nx = OrderedDict(
[('nx', ["default",
custom_nx = OrderedDict([
('nx', ["default",
"URL:nx Protocol",
"URL Protocol",
""]),
......
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