+2008-05-02 Joerg Jaspert <joerg@debian.org>
+
+ * dak/process_new.py (recheck): Make the path check more robust,
+ so we no longer have to keep process_new seperate trees between
+ security and normal archive.
+
2008-04-27 Joerg Jaspert <joerg@debian.org>
* dak/process_accepted.py (Urgency_Log.__init__): Warn if the
dsc_filename = "%s_%s.dsc" % (source_package, source_epochless_version)
found = 0
for q in ["Accepted", "Embargoed", "Unembargoed"]:
- if os.path.exists(Cnf["Dir::Queue::%s" % (q)] + '/' + dsc_filename):
- found = 1
+ if Cnf.has_key(Cnf["Dir::Queue::%s" % (q)]):
+ if os.path.exists(Cnf["Dir::Queue::%s" % (q)] + '/' + dsc_filename):
+ found = 1
if not found:
- reject("no source found for %s %s (%s)." % (source_package, source_version, file))
+ reject("no source found for %s %s (%s)." % (source_package, source_version, file))
# Version and file overwrite checks
if files[file]["type"] == "deb":
# Check for override disparities
Upload.Subst["__SUMMARY__"] = summary
else:
- Upload.accept(summary, short_summary)
+ Upload.accept(summary, short_summary)
os.unlink(Upload.pkg.changes_file[:-8]+".dak")
os.unlink(Cnf["Process-New::AcceptedLockFile"])