remove namespace mention from inheritance information
authorStefan Biereigel <stefan@biereigel.de>
Mon, 3 Feb 2020 19:54:32 +0000 (20:54 +0100)
committerStefan Biereigel <stefan@biereigel.de>
Mon, 3 Feb 2020 19:54:32 +0000 (20:54 +0100)
misc/py_wrap_generator.py

index d5bbecf00ef3eec8bc79bb7934fd7295231e67f4..fac5b48a4256fe5eb1cb3d7f6fe520c30d12b1cb 100644 (file)
@@ -914,7 +914,7 @@ class WClass:
                body = self.gen_boost_py_body()
                base_info = ""
                if self.base_class is not None:
-                       base_info = ", bases<%s::%s>" % (self.base_class.namespace, self.base_class.name)
+                       base_info = ", bases<" + (self.base_class.name) + ">"
 
                if self.link_type == link_types.derive:
                        text = "\n\t\tclass_<" + self.name + base_info + ">(\"Cpp" + self.name + "\""