1. Maciej Wiśniowski
  2. django-permissions-1.0

Commits

Kai Diefenbach  committed 0d13cc7 Merge

Merged 1.0 branch

  • Participants
  • Parent commits bb502a6, adb571f
  • Branches default

Comments (0)

Files changed (2)

File .hgtags

View file
  • Ignore whitespace
 0000000000000000000000000000000000000000 1.0.3
 0000000000000000000000000000000000000000 1.0.3
 43de2a0faa9b287977db5b07b76e9064e169ea63 1.0.3
+43de2a0faa9b287977db5b07b76e9064e169ea63 1.0.3
+0000000000000000000000000000000000000000 1.0.3
+0000000000000000000000000000000000000000 1.0.3
+2efbcb22ad8654dc26dc2deb58f374300b9d6ded 1.0.3

File permissions/utils.py

View file
  • Ignore whitespace
         used to display only reasonable permissions for an object. This
         must be a Django ContentType
     """
-    if ctypes = None:
+    if ctypes is None:
         ctypes = []
 
     # Permission with same codename and/or name must not exist.