X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fqueue.py;h=e04b80ac26b50b18c9c3c4759112e3300f7d9569;hb=58f3289c7a3287df7fd6bcf2a35c6319b37e1e42;hp=c045c19eaa60eeecd43aa5b9e9608011cdddc48a;hpb=53181135f740882c19553c2a8146de6a3041910c;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 ################################################################################