]> git.decadent.org.uk Git - dak.git/commit
Avoid if/elif/elif.. with lookup table.
authorChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 11:11:05 +0000 (11:11 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 11:11:05 +0000 (11:11 +0000)
commitfc85da6355bd58b0013d77f702d1440f27764643
tree607740cdc4821c2c5b012ce868ead32abcb96758
parentf44d28c3e082a636aa3fee1d07b4d104b1e819cc
Avoid if/elif/elif.. with lookup table.

Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/utils.py