mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
changed diagnostic from "warning" to "note" in the python wrapper generator, to suppress some noise in opencv utilities
This commit is contained in:
parent
9c7a8dd584
commit
f14b7af5ac
@ -243,7 +243,7 @@ class ClassInfo(object):
|
|||||||
if decl:
|
if decl:
|
||||||
self.bases = decl[1].split()[1:]
|
self.bases = decl[1].split()[1:]
|
||||||
if len(self.bases) > 1:
|
if len(self.bases) > 1:
|
||||||
print "Warning: class %s has more than 1 base class (not supported by Python C extensions)" % (self.name,)
|
print "Note: Class %s has more than 1 base class (not supported by Python C extensions)" % (self.name,)
|
||||||
print " Bases: ", " ".join(self.bases)
|
print " Bases: ", " ".join(self.bases)
|
||||||
print " Only the first base class will be used"
|
print " Only the first base class will be used"
|
||||||
self.bases = [self.bases[0].strip(",")]
|
self.bases = [self.bases[0].strip(",")]
|
||||||
|
Loading…
Reference in New Issue
Block a user