]> git.donarmstrong.com Git - dak.git/commitdiff
daklib/checks.py: Add instructions how to get an upload processed again.
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 5 Aug 2014 21:53:15 +0000 (23:53 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 5 Aug 2014 21:53:15 +0000 (23:53 +0200)
daklib/checks.py

index b7931f2f6d8e60a2b893f6a304b357fe88cefd31..3fb883c539270a0e9f4a8f7689af60d9302efe2c 100644 (file)
@@ -116,7 +116,7 @@ class SignatureAndHashesCheck(Check):
         history = SignatureHistory.from_signed_file(upload.changes)
         r = history.query(session)
         if r is not None:
         history = SignatureHistory.from_signed_file(upload.changes)
         r = history.query(session)
         if r is not None:
-            raise Reject('Signature for changes file was already seen at {0}'.format(r.seen))
+            raise Reject('Signature for changes file was already seen at {0}.\nPlease refresh the signature of the changes file if you want to upload it again.'.format(r.seen))
         session.add(history)
         session.commit()
         return True
         session.add(history)
         session.commit()
         return True