mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
pre-commit fix line ending (#7851)
This commit is contained in:
parent
7b64236469
commit
9bc0dd7a69
@ -97,7 +97,7 @@ def generate_js_file(keymap_file):
|
||||
js_config.append("export default {\n")
|
||||
for keycode in dict(sorted(result_mappings.items(), key=lambda item: int(item[0]))):
|
||||
js_config.append("%10s : \"%s\",\n" % ("\"" + str(keycode) + "\"", result_mappings[keycode].strip()))
|
||||
js_config.append("}")
|
||||
js_config.append("}\n")
|
||||
for line in js_config:
|
||||
handle.write(line)
|
||||
handle.close()
|
||||
|
||||
@ -99,4 +99,4 @@ export default {
|
||||
"125" : "43 shift",
|
||||
"126" : "11 shift",
|
||||
"166" : "86 shift altgr",
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user