]> git.proxmox.com Git - mirror_ovs.git/blobdiff - python/build/nroff.py
python: Fix invalid escape sequences.
[mirror_ovs.git] / python / build / nroff.py
index 78e4eae6aee4f3a66f584f805984f0380e07a435..a949077570e96ee928157cd46cfca38e57e8412c 100644 (file)
@@ -274,7 +274,7 @@ def diagram_to_nroff(nodes, para):
     text_s = '.br\n'.join(["\\fL%s\n" % s for s in text if s != ""])
     return para + """
 .\\" check if in troff mode (TTY)
-.if t \{
+.if t \\{
 .PS
 boxht = .2
 textht = 1/6
@@ -283,7 +283,7 @@ fillval = .2
 .PE
 \\}
 .\\" check if in nroff mode:
-.if n \{
+.if n \\{
 .nf
 """ + text_s + """\
 .fi