Skip to content

Commit 50f13ce

Browse files
author
Lars
committed
Linting
1 parent a072158 commit 50f13ce

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/sshkey_tools/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ def __table__(self) -> tuple:
12961296
msg = "No signature"
12971297
if self.is_signed and self.private_key is not None:
12981298
msg = f"Signed with private key {self.private_key.get_fingerprint()}"
1299-
1299+
13001300
if self.is_signed and self.private_key is None:
13011301
msg = "Signed with: See pubkey fingerprint above"
13021302

src/sshkey_tools/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(
129129
_SERIALIZATION.Encoding.OpenSSH,
130130
_SERIALIZATION.PublicFormat.OpenSSH,
131131
]
132-
132+
133133
# Ensure comment is not None
134134
self.comment = nullsafe_getattr(self, "comment", "")
135135

src/sshkey_tools/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,10 @@ def nullsafe_getattr(obj, attr: str, default):
246246
att = getattr(obj, attr, default)
247247
if att is None:
248248
att = default
249-
249+
250250
return att
251251

252+
252253
def join_dicts(*dicts) -> dict:
253254
"""
254255
Joins two or more dictionaries together.

0 commit comments

Comments
 (0)