diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2017-03-21 22:34:05 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2017-03-21 22:34:05 +0100 |
commit | 1abdeaedc3c1f17fc563891810b68b6053caa6bd (patch) | |
tree | f8442b57d622a2587ba4f754ae16ea7a314e7ba7 /gtkdoc-mkpdf.in | |
parent | d77af067190867c04cb33fc43f26f943ba81f1b1 (diff) | |
download | gtk-doc-1abdeaedc3c1f17fc563891810b68b6053caa6bd.tar.gz |
mkpdf: suppress warning about missing chars
There is nothing the user can do here.
Diffstat (limited to 'gtkdoc-mkpdf.in')
-rwxr-xr-x | gtkdoc-mkpdf.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in index 19dfc78..58b2ab0 100755 --- a/gtkdoc-mkpdf.in +++ b/gtkdoc-mkpdf.in @@ -93,8 +93,14 @@ if dblatex != '': pc = subprocess.Popen(dbcmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) (stde, _) = pc.communicate() for line in stde.split('\n'): - if 'programlisting or screen' not in line and line.strip(): - print(line) + if not line.strip(): + continue + if 'programlisting or screen' in line: + continue + # This happens when dblatex has no support for some special chars + if 'Missing character' in line: + continue + print(line) elif fop != '': if options.verbose: quiet = '0' |