diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-03-14 18:32:36 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-03-14 18:32:36 +0100 |
commit | 98f79613ffbccf43b9f930339c7e3372dfe52b56 (patch) | |
tree | 41ce0ba647a0713d10bf38668eb2ffdd78a6a2d4 /completion.py | |
parent | 6a2ed050dcb4e9e0d01eec0c508f1b898aafc27f (diff) | |
download | clufter-98f79613ffbccf43b9f930339c7e3372dfe52b56.tar.gz clufter-98f79613ffbccf43b9f930339c7e3372dfe52b56.tar.xz clufter-98f79613ffbccf43b9f930339c7e3372dfe52b56.zip |
completion: fix issue with backslash verbatim in output
Issue introduced with commit 03051892 (unexpectedly, r""" string
notation treats backslashes as inline symbols).
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'completion.py')
-rw-r--r-- | completion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completion.py b/completion.py index 75a41f0..c2b0d97 100644 --- a/completion.py +++ b/completion.py @@ -105,8 +105,8 @@ local opts="{0}" alias_case = ' ' + '\n '.join( '{0}) cur="{1}";;'.format(alias, to) for alias, to in aliases ) - main = r"""\ -local commands="{1}" + main = \ +r"""local commands="{1}" local opts_common="{2}" local opts_main="{3}" local opts_nonmain="{4}" |