Ejemplo n.º 1
0
 def predicate(ctx):
     if check_teamset(ctx):
         if not check_raidchannel(ctx):
             return True
         else:
             raise errors.NonRaidChannelCheckFail()
     else:
         raise errors.TeamSetCheckFail()
Ejemplo n.º 2
0
 def predicate(ctx):
     if (not check_raidchannel(ctx)):
         return True
     raise errors.NonRaidChannelCheckFail()