X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=17dbb67c6c4b3cb099e690e813bce4d3b002ab77;hb=e1f078ff370dae097f3ab248b33026db103ce4bd;hp=4e5368770d52ff3565c34e7fe37469458155c7a0;hpb=d2baf5ef8237f6865942df69e14dd810101ee51a;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 4e536877..17dbb67c 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1208,7 +1208,7 @@ class Upload(object): return cnf = Config() - tagfile = cnf("Dinstall::LintianTags") + tagfile = cnf["Dinstall::LintianTags"] # Parse the yaml file sourcefile = file(tagfile, 'r') sourcecontent = sourcefile.read() @@ -1279,7 +1279,7 @@ class Upload(object): self.rejects.append("%s: Found lintian output: '%s %s', automatically rejected package." % (epackage, etag, etext)) # Now tell if they *might* override it. if etag in lintiantags['warning']: - self.rejects.append("%s: If you have a good reason, you may override this lintian tag. Laziness to fix your crap is NOT A GOOD REASON, sod off" % (epackage)) + self.rejects.append("%s: If you have a good reason, you may override this lintian tag." % (epackage)) ########################################################################### def check_urgency(self): @@ -1734,7 +1734,7 @@ distribution.""" # yes # This routine returns None on success or an error on failure - res = get_queue('accepted').autobuild_upload(self.pkg, cnf["Dir::Queue::Accepted"]) + res = get_or_set_queue('accepted').autobuild_upload(self.pkg, cnf["Dir::Queue::Accepted"]) if res: utils.fubar(res)