Closed jedie closed 5 years ago
I've kept it simple in my fork and just remove "long", see: https://github.com/wearehoods/django-oscar-docdata/commit/37b65994307af8ceeef38b213e7e5e4a51a4ba86
I don't know if you still have to support Python v2 ;)
Yes we still have to support python 2 as long as Django 1.11 is alive (LTS release).
So to stay compatible we should change this to:
if isinstance(quantity, six.integer_types):
Yes we still have to support python 2 as long as Django 1.11 is alive (LTS release)
That's a pity. We are completely on Python 3. Therefore my changes are only for Python 3 and i didn't have time to create a Python 2 setup ;)
Fixed in d1145a0b4880018c4d8dffec8ba3c9abce4bfe21