diff options
author | Gaute Hope <eg@gaute.vetsj.com> | 2016-02-25 18:24:46 +0100 |
---|---|---|
committer | Gaute Hope <eg@gaute.vetsj.com> | 2016-02-25 18:24:46 +0100 |
commit | ac879cec500e942b313cf48d0b51b41cd6d3afea (patch) | |
tree | 353645ad4b7b27e629a9547dc53f9e3f70032a4e /devel | |
parent | d606f3d583a38bdf9713bc0b3cb817b08284c54b (diff) |
get_keys: , before default
Diffstat (limited to 'devel')
-rwxr-xr-x | devel/get_keys.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/get_keys.py b/devel/get_keys.py index c4755d8..8f490a5 100755 --- a/devel/get_keys.py +++ b/devel/get_keys.py @@ -22,14 +22,14 @@ def stripper(s): def out_binding(multi, key, function, documentation, ): if 'UnboundKey' in key: - multi = 'no defaults' + multi = ', no defaults.' else: key = stripper(key) if multi: - multi = 'default: ' + key + ', ' + stripper(multi) + multi = ', default: ' + key + ', ' + stripper(multi) else: - multi = 'default: ' + key - print('#', stripper(function) + '=' + key, '#', stripper(documentation), multi) + multi = ', default: ' + key + print('#', stripper(function) + '=' + key, '#', stripper(documentation) + multi) def main(*options): # pattern to look for: |