X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_new.py;h=d1e5802161d575c32e00337fa7005cc7d794a2ae;hb=a7f77393881783e65423f1f36778c67c52e5213d;hp=61eb8ec9f67de76335a3dc8dbca63f827e4f01d3;hpb=6a6d627c2d86e2acb263107ab2f115a8a68428f9;p=dak.git diff --git a/dak/process_new.py b/dak/process_new.py index 61eb8ec9..d1e58021 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -662,6 +662,8 @@ def do_pkg(upload, session): dsc = upload.source cnf = Config() + group = cnf.get('Dinstall::UnprivGroup') or None + #bcc = "X-DAK: dak process-new" #if cnf.has_key("Dinstall::Bcc"): # u.Subst["__BCC__"] = bcc + "\nBcc: %s" % (cnf["Dinstall::Bcc"]) @@ -670,7 +672,7 @@ def do_pkg(upload, session): try: with lock_package(upload.changes.source): - with UploadCopy(upload) as upload_copy: + with UploadCopy(upload, group=group) as upload_copy: handler = PolicyQueueUploadHandler(upload, session) if handler.get_action() is not None: print "PENDING %s\n" % handler.get_action()