Remove an unnecessary argument.

This commit is contained in:
Eric S. Raymond 2018-03-08 08:35:46 -05:00
parent 5cdaa301dc
commit 88c734ceea

View file

@ -203,7 +203,7 @@ def get_obituaries(obit):
obit_str = obit_str[:-1] # trim trailing newline obit_str = obit_str[:-1] # trim trailing newline
return obit_str return obit_str
def get_hints(hnt, arb): def get_hints(hnt):
template = """ {{ template = """ {{
.number = {}, .number = {},
.penalty = {}, .penalty = {},
@ -213,7 +213,6 @@ def get_hints(hnt, arb):
}}, }},
""" """
hnt_str = "" hnt_str = ""
md = dict(arb)
for member in hnt: for member in hnt:
item = member["hint"] item = member["hint"]
number = item["number"] number = item["number"]
@ -550,7 +549,7 @@ if __name__ == "__main__":
locations = get_locations(db["locations"]), locations = get_locations(db["locations"]),
objects = get_objects(db["objects"]), objects = get_objects(db["objects"]),
obituaries = get_obituaries(db["obituaries"]), obituaries = get_obituaries(db["obituaries"]),
hints = get_hints(db["hints"], db["arbitrary_messages"]), hints = get_hints(db["hints"]),
conditions = get_condbits(db["locations"]), conditions = get_condbits(db["locations"]),
motions = get_motions(db["motions"]), motions = get_motions(db["motions"]),
actions = get_actions(db["actions"]), actions = get_actions(db["actions"]),