# HG changeset patch # User Brian Neal # Date 1371177024 18000 # Node ID 219887b410dcc1e9ebd68aeccf1578ff356d422f # Parent 19364133f86e87d4d256b1b87e3845ff068881e3 Fix argument order. diff -r 19364133f86e -r 219887b410dc m209/keylist/generate.py --- 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)