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

Which version of python3,do I need? #85

Open
L3ss-dev opened this issue Apr 24, 2020 · 5 comments
Open

Which version of python3,do I need? #85

L3ss-dev opened this issue Apr 24, 2020 · 5 comments

Comments

@L3ss-dev
Copy link

L3ss-dev commented Apr 24, 2020

When I used python3.8,I got this:
./rtfm.py:487: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if tag is not '':
./rtfm.py:489: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(itags) is 0:
./rtfm.py:494: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if ref is not '':
./rtfm.py:496: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(irefs) is 0:
./rtfm.py:510: SyntaxWarning: "is" with a literal. Did you mean "=="?
if options.dump is 'a':
./rtfm.py:532: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.dump is 'c':
./rtfm.py:540: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.dump is 't':
./rtfm.py:548: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.dump is 'r':
./rtfm.py:569: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.printer is 'c':
./rtfm.py:571: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.printer is 'p':
./rtfm.py:576: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.printer is 'd':
./rtfm.py:585: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.printer is 'w':
./rtfm.py:590: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif options.printer is 'P':

@leostat
Copy link
Owner

leostat commented Apr 27, 2020

Whoops! It looks like i havn't kept upto date with the chnages in Python 3.8, I will chage all those over in a bit

@monchers
Copy link

I just fixed those is, is not, etc. small issues, just tested it and it works nice and clean in Kali now. Please verify. Thanks bud!
rtfm_updated.zip

@L3ss-dev
Copy link
Author

I just fixed those is, is not, etc. small issues, just tested it and it works nice and clean in Kali now. Please verify. Thanks bud!
rtfm_updated.zip

Oh,thx,I will try it.

@monchers
Copy link

monchers commented Apr 29, 2020 via email

@joaociocca
Copy link

that file worked like a charm here! nice job - maybe do a PR?

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

4 participants