dfunckt / django-rules

Awesome Django authorization, without the database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove Python 2 code

dyve opened this issue · comments

In predicates.py, there is code specific for Python 2, which is no longer supported.

  __nonzero__ = __bool__  # python 2