summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2012-01-06 22:40:35 +0100
committerTomek Dubrownik <t.dubrownik@gmail.com>2012-01-06 22:40:35 +0100
commitdcc30292ded0688058a515cc82157931ab45f4f9 (patch)
tree450bbd616c2c6b56bb4e00a97cca7bf1c97756b8
parent0349e3c1c91b25bbd6e70495207241cc61204026 (diff)
downloaddoorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.gz
doorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.bz2
doorman-dcc30292ded0688058a515cc82157931ab45f4f9.tar.xz
doorman-dcc30292ded0688058a515cc82157931ab45f4f9.zip
added the _show_cards utility
-rwxr-xr-xadmin/doorman_show_cards7
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)