summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2012-01-12 18:11:30 +0100
committerTomek Dubrownik <t.dubrownik@gmail.com>2012-01-12 18:11:30 +0100
commit45eaf49465e4e385ac5c2eff43d86524c8959586 (patch)
tree98b42649a7af0469ded160ae64937264790cc276
parentdcc30292ded0688058a515cc82157931ab45f4f9 (diff)
downloaddoorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.gz
doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.bz2
doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.tar.xz
doorman-45eaf49465e4e385ac5c2eff43d86524c8959586.zip
format string fixed
-rwxr-xr-xadmin/doorman_revoke_card3
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)