diff options
author | Tomek Dubrownik <t.dubrownik@gmail.com> | 2012-01-12 18:11:30 +0100 |
---|---|---|
committer | Tomek Dubrownik <t.dubrownik@gmail.com> | 2012-01-12 18:11:30 +0100 |
commit | 45eaf49465e4e385ac5c2eff43d86524c8959586 (patch) | |
tree | 98b42649a7af0469ded160ae64937264790cc276 | |
parent | dcc30292ded0688058a515cc82157931ab45f4f9 (diff) | |
download | doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.gz doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.bz2 doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.xz doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.zip |
format string fixed
-rwxr-xr-x | admin/doorman_revoke_card | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/doorman_revoke_card b/admin/doorman_revoke_card index 7cecfc8..d3cd8bb 100755 --- a/admin/doorman_revoke_card +++ b/admin/doorman_revoke_card @@ -1,6 +1,7 @@ #!/usr/bin/env python import argparse +import options from sys import stderr, argv from lib.actions import * @@ -36,4 +37,4 @@ if __name__ == '__main__': print >> stderr, 'Unknown error:', str(status) exit(1) (uid, name) = del_card(card) - print 'Card %x (user %s, uid %d) revoked' % (card, name, uid) + print 'Card %s (user %s, uid %d) revoked' % (card, name, uid) |