X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=9bc755311af9bc84f1ec54385f3cd25b29c3120f;hb=119b74a84a46f63ed37f216cde4eec1c439b4158;hp=9ea69c414612d7336f26d21330e68679109b599e;hpb=b1a0b8fb0fe026d8f914c1db3b86e489514b1b9e;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 9ea69c41..9bc75531 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1320,19 +1320,19 @@ class Upload(object): sourcepkg, trans) if current is not None: - currentlymsg = "at version %s" % (current) + currentlymsg = "at version %s" % (current.version) else: currentlymsg = "not present in testing" rejectmsg += "Transition description: %s\n\n" % (t["reason"]) rejectmsg += "\n".join(textwrap.wrap("""Your package - is part of a testing transition designed to get %s migrated (it is - currently %s, we need version %s). This transition is managed by the - Release Team, and %s is the Release-Team member responsible for it. - Please mail debian-release@lists.debian.org or contact %s directly if you - need further assistance. You might want to upload to experimental until this - transition is done.""" +is part of a testing transition designed to get %s migrated (it is +currently %s, we need version %s). This transition is managed by the +Release Team, and %s is the Release-Team member responsible for it. +Please mail debian-release@lists.debian.org or contact %s directly if you +need further assistance. You might want to upload to experimental until this +transition is done.""" % (source, currentlymsg, expected,t["rm"], t["rm"]))) self.rejects.append(rejectmsg)