From f14b7af5ac10c26d00124635ae79393542739db6 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Mon, 21 Jan 2013 15:00:32 +0400 Subject: [PATCH] changed diagnostic from "warning" to "note" in the python wrapper generator, to suppress some noise in opencv utilities --- modules/python/src2/gen2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/python/src2/gen2.py b/modules/python/src2/gen2.py index 5381579ce4..5061b11479 100755 --- a/modules/python/src2/gen2.py +++ b/modules/python/src2/gen2.py @@ -243,9 +243,9 @@ class ClassInfo(object): if decl: self.bases = decl[1].split()[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 "Bases: ", " ".join(self.bases) - print "Only the first base class will be used" + print "Note: Class %s has more than 1 base class (not supported by Python C extensions)" % (self.name,) + print " Bases: ", " ".join(self.bases) + print " Only the first base class will be used" self.bases = [self.bases[0].strip(",")] #return sys.exit(-1) if self.bases and self.bases[0].startswith("cv::"):