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:
Peter Krempa 2012-07-27 15:03:03 +02:00
parent 3ad13c92a7
commit b889bac171

View File

@ -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