Skip to content

Commit

Permalink
Add logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed Jan 20, 2015
1 parent f0ec8dc commit bc1f474
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/rpm-s3
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def sign_metadata(repomdfile):
try:
child = pexpect.spawn(cmd)
child.expect(pexpect.EOF)
logging.info("Successfully signed repository metadata file")
except pexpect.EOF, e:
print "Unable to sign repository metadata '%s' - %s" % (repomdfile, child.before)
logging.error("Unable to sign repository metadata: %s", e)
Expand Down

0 comments on commit bc1f474

Please sign in to comment.