mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #314 from vpisarev:2.4
This commit is contained in:
commit
abb9e08671
@ -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::"):
|
||||
|
Loading…
Reference in New Issue
Block a user