X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=e04b80ac26b50b18c9c3c4759112e3300f7d9569;hb=3794462417522fe7ded56032147a87bd0edd2479;hp=c045c19eaa60eeecd43aa5b9e9608011cdddc48a;hpb=83ca7d66ce46e3d7b643c218ea96f24cf737d1b8;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index c045c19e..e04b80ac 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -110,12 +110,14 @@ def determine_new(changes, files, warn=1, session = None): """ new = {} + byhand = {} # Build up a list of potentially new things for name, f in files.items(): - # Skip byhand elements -# if f["type"] == "byhand": -# continue + # Keep a record of byhand elements + if f["section"] == "byhand": + byhand[name] = 1 + continue pkg = f["package"] priority = f["priority"] section = f["section"] @@ -180,7 +182,7 @@ def determine_new(changes, files, warn=1, session = None): if new[pkg].has_key("othercomponents"): print "WARNING: %s already present in %s distribution." % (pkg, new[pkg]["othercomponents"]) - return new + return new, byhand ################################################################################