from sqlalchemy.sql.expression import desc
from sqlalchemy.orm.exc import NoResultFound
-import yaml
-
from dak_exceptions import *
from changes import *
from regexes import *
return 0
comment = NewComment()
+ comment.policy_queue = upload.policy_queue
comment.package = upload.changes.source
comment.version = upload.changes.version
comment.comment = newnote
# FIXME: Should move into the database
# suite names DMs can upload to
-dm_suites = ['unstable', 'experimental', 'squeeze-backports']
+dm_suites = ['unstable', 'experimental', 'squeeze-backports','squeeze-backports-sloppy', 'wheezy-backports']
def get_newest_source(source, session):
'returns the newest DBSource object in dm_suites'
return sponsored
def check_dm_upload(self, fpr, session):
- # Quoth the GR (http://www.debian.org/vote/2007/vote_003):
+ # Quoth the GR (https://www.debian.org/vote/2007/vote_003):
## none of the uploaded packages are NEW
## none of the packages are being taken over from other source packages
for b in self.pkg.changes["binary"].keys():