Skip to content

Commit

Permalink
Update pssh/config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pkittenis authored Aug 20, 2022
1 parent b40ffe2 commit 402f74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pssh/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _sanity_checks(self):
raise ValueError("Port %s is not an integer" % (self.port,))
if self.password is not None and not isinstance(self.password, str):
raise ValueError("Password %s is not a string" % (self.password,))
if self.alias is not None and not isinstance(self.alias, (str, int)):
if self.alias is not None and not isinstance(self.alias, str):
raise ValueError("Alias %s is not a string" % (self.alias,))
if self.private_key is not None and not (
isinstance(self.private_key, str) or isinstance(self.private_key, bytes)
Expand Down

0 comments on commit 402f74f

Please sign in to comment.