Skip to content

Commit 3c87e9a

Browse files
authored
Merge pull request #9 from Arcopix/alpha4
Alpha4
2 parents be86068 + d1ab4d4 commit 3c87e9a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

ms-version.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#
33
# For more details about fixed file info 'ffi' see:
44
# http://msdn.microsoft.com/en-us/library/ms646997.aspx
5-
VSVersionInfo(
6-
ffi=FixedFileInfo(
5+
VSVersionInfo( # noqa
6+
ffi=FixedFileInfo( # noqa
77
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
88
# Set not needed items to zero 0.
9-
filevers=(1, 0, 0, 0),
9+
filevers=(1, 0, 0, 0),
1010
prodvers=(1, 0, 0, 0),
1111
# Contains a bitmask that specifies the valid bits 'flags'r
1212
mask=0x3f,
@@ -27,17 +27,17 @@
2727
kids=[
2828
StringFileInfo(
2929
[
30-
StringTable(
30+
StringTable( # noqa
3131
u'040904B0',
32-
[StringStruct(u'CompanyName', u'Devhex Ltd'),
33-
StringStruct(u'FileDescription', u'remoteShark utility'),
34-
StringStruct(u'FileVersion', u'1.0.0.0'),
35-
StringStruct(u'InternalName', u'remoteShark'),
36-
StringStruct(u'LegalCopyright', u'GPLv3'),
37-
StringStruct(u'OriginalFilename', u'remoteShark.exe'),
38-
StringStruct(u'ProductName', u'remoteShark'),
39-
StringStruct(u'ProductVersion', u'1.0.0 (alpha4)')])
32+
[StringStruct(u'CompanyName', u'Devhex Ltd'), # noqa
33+
StringStruct(u'FileDescription', u'remoteShark utility'), # noqa
34+
StringStruct(u'FileVersion', u'1.0.0.0'), # noqa
35+
StringStruct(u'InternalName', u'remoteShark'), # noqa
36+
StringStruct(u'LegalCopyright', u'GPLv3'), # noqa
37+
StringStruct(u'OriginalFilename', u'remoteShark.exe'), # noqa
38+
StringStruct(u'ProductName', u'remoteShark'), # noqa
39+
StringStruct(u'ProductVersion', u'1.0.0 (alpha4)')]) # noqa
4040
]),
41-
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
41+
VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) # noqa
4242
]
4343
)

remoteShark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def testConnection(self):
436436
printf('Successful connection to the remote host')
437437
return
438438

439-
if (re.search("The server's host key is not cached", err.decode())):
439+
if (re.search("The server's host key is not cached", err.decode()) or re.search("The host key is not cached for this server", err.decode())):
440440
printf("%s\n", err.decode())
441441
printf("\n\nThis utility will automatically add the host key in 5 seconds.\n")
442442
printf("Press Ctrl+C to abort... \n")

0 commit comments

Comments
 (0)