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

Error on line 38 #7

Open
hotpheex opened this issue Oct 18, 2018 · 7 comments
Open

Error on line 38 #7

hotpheex opened this issue Oct 18, 2018 · 7 comments

Comments

@hotpheex
Copy link

38: print(f'SSH Exception: {e}', file=sys.stdout)

Should be:
38: printf('SSH Exception: {e}', file=sys.stdout)

@gregsonar
Copy link

This is not an error; it is a string formatting: https://www.python.org/dev/peps/pep-0498/#abstract

@slow-down
Copy link

slow-down commented Oct 18, 2018

@gregsonar well it is, because it says "SyntaxError: invalid syntax" on that line. and i have python3.5, also tested with 2.7. both didnt work

@brammittendorff
Copy link
Contributor

Fixed this with PR.

@SoledaD208
Copy link
Owner

SoledaD208 commented Oct 18, 2018

thanks @brammittendorff , merged it to master

@brammittendorff
Copy link
Contributor

@SoledaD208 No problem. @hotpheex @gregsonar @slow-down please let us know if it works now, so we can close this Issue.

@dekelb
Copy link

dekelb commented Oct 18, 2018

@brammittendorff yes, this solve the issue for python <3.6

@brammittendorff
Copy link
Contributor

@dekelb Thanks for checking. @SoledaD208 now you can close this issue.

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

No branches or pull requests

6 participants