Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated SSHException to meetup with conform python 3.x #9

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

brammittendorff
Copy link
Contributor

@brammittendorff brammittendorff commented Oct 18, 2018

Since you are using Python 3.x., you should actually be using the newer str.format method. Though % and , formatting is not officially deprecated (yet), it is discouraged in favor of str.format and will most likely be removed from the language in a coming version (Python 4 maybe?).

Tested with:

python --version
Python 2.7.13

And:

python3 --version
Python 3.5.3

And:

python3.6 --version
Python 3.6.6

Fixes:
#7

Since you are using Python 3.x., you should actually be using the newer str.format method. Though % and , formatting is not officially deprecated (yet), it is discouraged in favor of str.format and will most likely be removed from the language in a coming version (Python 4 maybe?).
@SoledaD208
Copy link
Owner

thanks brammittendorff, merged to master

@SoledaD208 SoledaD208 merged commit 404103c into SoledaD208:master Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants