diff options
| author | Ben Pfaff <blp@nicira.com> | 2015-06-23 11:06:01 -0700 |
|---|---|---|
| committer | Alex Wang <alexw@nicira.com> | 2015-06-23 11:06:51 -0700 |
| commit | 7102846b867cf0dc061876fc3b7caa33e72173aa (patch) | |
| tree | 1b942ad21882e097b5cb645d342ffd0d76ddd4bd /python/build | |
| parent | 31d2b7c027ef4d0c7e4fb21ab59db878a9b76c67 (diff) | |
| download | openvswitch-7102846b867cf0dc061876fc3b7caa33e72173aa.tar.gz | |
nroff: Fix the escape of '.'.
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
Diffstat (limited to 'python/build')
| -rw-r--r-- | python/build/nroff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/build/nroff.py b/python/build/nroff.py index 050518c62..078ec4b9a 100644 --- a/python/build/nroff.py +++ b/python/build/nroff.py @@ -47,7 +47,7 @@ def textToNroff(s, font=r'\fR'): elif c == ".": # groff(7) says that . can be escaped by \. but in practice groff # still gives an error with \. at the beginning of a line. - return font + "." + return r'\[char46]' else: raise error.Error("bad escape") |
