Revision d50fd7b6 flowspec/models.py

b/flowspec/models.py
45 45
    ("EXPIRED", "EXPIRED"),
46 46
    ("PENDING", "PENDING"),
47 47
    ("OUTOFSYNC", "OUTOFSYNC"),
48
    ("INACTIVE", "INACTIVE"),            
48
    ("INACTIVE", "INACTIVE"),
49
    ("ADMININACTIVE", "ADMININACTIVE"),           
49 50
)
50 51

  
51 52

  
......
299 300
        
300 301
    get_match.short_description = 'Match statement'
301 302
    get_match.allow_tags = True
303
    
304
    @property
305
    def applier_peer(self):
306
        try:
307
            applier_peer = self.applier.get_profile().peer
308
        except:
309
            applier_peer = None
310
        return applier_peer
302 311

  
303 312
def send_message(msg, user):
304 313
#    username = user.username

Also available in: Unified diff