mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
docs: Add method to print warnings in docBuilder class
The method was not existing and did not allow to diagnose problems.
This commit is contained in:
parent
3ad13c92a7
commit
b889bac171
@ -1961,6 +1961,11 @@ class docBuilder:
|
|||||||
self.index = {}
|
self.index = {}
|
||||||
self.basename = name
|
self.basename = name
|
||||||
|
|
||||||
|
def warning(self, msg):
|
||||||
|
global warnings
|
||||||
|
warnings = warnings + 1
|
||||||
|
print msg
|
||||||
|
|
||||||
def indexString(self, id, str):
|
def indexString(self, id, str):
|
||||||
if str == None:
|
if str == None:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user