diff options
author | Tomek Dubrownik <t.dubrownik@gmail.com> | 2012-01-06 22:40:35 +0100 |
---|---|---|
committer | Tomek Dubrownik <t.dubrownik@gmail.com> | 2012-01-06 22:40:35 +0100 |
commit | dcc30292ded0688058a515cc82157931ab45f4f9 (patch) | |
tree | 450bbd616c2c6b56bb4e00a97cca7bf1c97756b8 | |
parent | 0349e3c1c91b25bbd6e70495207241cc61204026 (diff) | |
download | doorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.gz doorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.bz2 doorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.xz doorman-dcc30292ded0688058a515cc82157931ab45f4f9.zip |
added the _show_cards utility
-rwxr-xr-x | admin/doorman_show_cards | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/doorman_show_cards b/admin/doorman_show_cards new file mode 100755 index 0000000..21af431 --- /dev/null +++ b/admin/doorman_show_cards @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +from lib.storage import storage + +if __name__ == '__main__': + for h, (u, n) in storage.iteritems(): + print 'hash=%s, uid=%s, nick=%s' % (h, u, n) |