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

xortool-xor is not python 3 compatible #21

Closed
duanehutchins opened this issue May 17, 2019 · 4 comments
Closed

xortool-xor is not python 3 compatible #21

duanehutchins opened this issue May 17, 2019 · 4 comments

Comments

@duanehutchins
Copy link

Traceback (most recent call last):
  File "/python/bin/xortool-xor", line 117, in <module>
    main()
  File "/python/bin/xortool-xor", line 51, in main
    sys.stdout.write(xor(datas, nocycle=nocycle))
  File "/python/bin/xortool-xor", line 66, in xor
    for i in xrange(maxlen):
NameError: name 'xrange' is not defined

xrange was replaced by range in Python 3

@duanehutchins
Copy link
Author

added PR #23 to fix issue

@maage
Copy link

maage commented Sep 18, 2019

Also #26 fixes this issue.

@hellman
Copy link
Owner

hellman commented Oct 25, 2019

Thanks, should be working now

@hellman hellman closed this as completed Oct 25, 2019
@anthraxx
Copy link
Contributor

anthraxx commented Jan 8, 2020

@hellman would it be possible to actually cut a python3 release? It would be great as lot of distros are moving away from python2 and I would like to put this into the main repos.

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