Mercurial > public > m209
changeset 24:219887b410dc
Fix argument order.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 13 Jun 2013 21:30:24 -0500 |
parents | 19364133f86e |
children | b6b52d63cd50 |
files | m209/keylist/generate.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m209/keylist/generate.py Thu Jun 13 21:25:05 2013 -0500 +++ b/m209/keylist/generate.py Thu Jun 13 21:30:24 2013 -0500 @@ -40,7 +40,7 @@ """ lugs = generate_lugs() pin_list = generate_pin_list() - letter_check = generate_letter_check(lugs, pin_list) + letter_check = generate_letter_check(lugs=lugs, pin_list=pin_list) return KeyList(indicator=indicator, lugs=lugs, pin_list=pin_list, letter_check=letter_check) @@ -73,7 +73,7 @@ return pin_list -def generate_letter_check(pin_list, lugs): +def generate_letter_check(lugs, pin_list): """Return a letter check string for the given pin list and lug settings.""" m_209 = M209(lugs, pin_list)