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

Python 3 #1

Open
jayvdb opened this issue Sep 17, 2020 · 0 comments
Open

Python 3 #1

jayvdb opened this issue Sep 17, 2020 · 0 comments

Comments

@jayvdb
Copy link

jayvdb commented Sep 17, 2020

  File "storagecellar/__init__.py", line 50, in gen_keys
    for x in xrange(count, 0, -1):
NameError: name 'xrange' is not defined

fix for that one

-    for x in xrange(count, 0, -1):
+    for x in six.moves.range(count, 0, -1):

Could be more, but I didnt find them running the test rig.

@jayvdb jayvdb mentioned this issue Sep 17, 2020
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

1 participant