Commits

Andriy Kornatskyy committed 0c88661

Minor clean up.

  • Participants
  • Parent commits 2840a2f

Comments (0)

Files changed (1)

src/wheezy/security/principal.py

     """ Container of user specific security information
     """
 
-    def __init__(self, id='', roles=None, alias='', extra=''):
+    def __init__(self, id='', roles=(), alias='', extra=''):
         self.id = id
-        self.roles = roles or ()
+        self.roles = roles
         self.alias = alias
         self.extra = extra