mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 01:15:19 +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.basename = name
|
||||
|
||||
def warning(self, msg):
|
||||
global warnings
|
||||
warnings = warnings + 1
|
||||
print msg
|
||||
|
||||
def indexString(self, id, str):
|
||||
if str == None:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user