Include gpg key in repoman commit message.
authorZac Medico <zmedico@gentoo.org>
Wed, 6 Oct 2010 20:27:27 +0000 (13:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 6 Oct 2010 20:27:27 +0000 (13:27 -0700)
bin/repoman

index 0b72ef1619e03447ea840051186b99dc160f09d5..1308ec717d7b7fe485521b26c648227101dc1288 100755 (executable)
@@ -2550,7 +2550,9 @@ else:
                # strip the closing parenthesis
                mymsg.write(_unicode_encode(commitmessage[:-1]))
                if signed:
-                       mymsg.write(b", signed Manifest commit)")
+                       mymsg.write(_unicode_encode(
+                               ", signed Manifest commit with key %s)" % \
+                               repoman_settings["PORTAGE_GPG_KEY"]))
                else:
                        mymsg.write(b", unsigned Manifest commit)")
                mymsg.close()