diff options
author | Andras Timar <andras.timar@collabora.com> | 2021-01-06 13:50:39 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-01-06 13:50:39 +0100 |
commit | 436e395825671dbc8536d5b3fa9b49cd6c5dbcef (patch) | |
tree | 1ccde269dba9a4979883460cdaf3dcf792c59ef3 /scripts | |
parent | add CAP_CHOWN to systemd service files (diff) | |
download | online-436e395825671dbc8536d5b3fa9b49cd6c5dbcef.tar.gz online-436e395825671dbc8536d5b3fa9b49cd6c5dbcef.zip |
_UNO() takes precedence, it will become the actual label
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0e25ebc289179f80eb4231c218feb9af554ec334
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/unocommands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py index 8e344e9e61..c3c1031305 100755 --- a/scripts/unocommands.py +++ b/scripts/unocommands.py @@ -57,11 +57,11 @@ def commandsFromLine(line): # Extract uno commands name from lines like " {uno: '.uno:Command3'," def commandFromMenuLine(line): - m = re.search(r"\buno: *'\.uno:([^']*)'", line) + m = re.search(r"\b_UNO\('.uno:([^']*)'", line) if m: return [ m.group(1) ] - m = re.search(r"\b_UNO\('.uno:([^']*)'", line) + m = re.search(r"\buno: *'\.uno:([^']*)'", line) if m: return [ m.group(1) ] |