Commit e7a73286 by Csók Tamás

client: flake8 correction

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