]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/checks.py: add note to send warning for DMUA later
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 16 Sep 2012 15:46:59 +0000 (17:46 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 16 Sep 2012 15:46:59 +0000 (17:46 +0200)
daklib/checks.py

index 5be0d966da863d129535a2a5c87aa7f9ecbb1fbc..6a95049f4d93377795cf83d0c9b6c272024c9cc9 100644 (file)
@@ -405,6 +405,7 @@ class ACLCheck(Check):
         acl_per_source = session.query(ACLPerSource).filter_by(acl=acl, fingerprint=upload.fingerprint, source=source_name).first()
         if acl.allow_per_source:
             # XXX: Drop DMUA part here and switch to new implementation.
+            # XXX: Send warning mail once users can set the new DMUA flag
             dmua_status, dmua_reason = self._check_dmua(upload)
             if not dmua_status:
                 return False, dmua_reason