|
@@ -70,7 +70,7 @@ def dump_wrappers(class_name, output, module):
|
|
if output == "-":
|
|
if output == "-":
|
|
impl_file = sys.stdout
|
|
impl_file = sys.stdout
|
|
else:
|
|
else:
|
|
- impl_file = open(class_name.lower() + "_python.cc", "w")
|
|
|
|
|
|
+ impl_file = open(output + "_python.cc", "w")
|
|
impl_template_file = open("wrapper_template.cc", "r")
|
|
impl_template_file = open("wrapper_template.cc", "r")
|
|
except:
|
|
except:
|
|
sys.stderr.write('Failed to open C++ file(s)\n')
|
|
sys.stderr.write('Failed to open C++ file(s)\n')
|