bugfix
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 4 May 2011 07:06:42 +0000 (09:06 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 4 May 2011 07:06:42 +0000 (09:06 +0200)
sfa/trust/rights.py

index 133048b..4cc3386 100644 (file)
@@ -60,7 +60,7 @@ def determine_rights(type, name):
     elif type in ["sa", "authority+sa"]:
         rl.add("authority")
         rl.add("sa")
-    elif type ["ma", "authority+ma"]:
+    elif type in ["ma", "authority+ma"]:
         rl.add("authority")
         rl.add("ma")
     elif type == "authority":