Removed some debug statements

This commit is contained in:
Hilton Bristow 2013-03-18 14:48:52 +10:00 committed by hbristow
parent eda32520e2
commit 30aa710022

View File

@ -51,7 +51,6 @@ class MatlabWrapperGenerator(object):
# populate templates # populate templates
for namespace in parse_tree.namespaces: for namespace in parse_tree.namespaces:
print 'populating function templates from '+namespace.name
# functions # functions
for function in namespace.functions: for function in namespace.functions:
populated = tfunction.render(fun=function, time=time) populated = tfunction.render(fun=function, time=time)
@ -60,8 +59,6 @@ class MatlabWrapperGenerator(object):
# classes # classes
for clss in namespace.classes: for clss in namespace.classes:
# cpp converter # cpp converter
if len(clss.functions) > 2:
print clss.functions[1].__str__()
populated = tclassc.render(clss=clss, time=time) populated = tclassc.render(clss=clss, time=time)
with open(output_private_dir+'/'+clss.name+'Bridge.cpp', 'wb') as f: with open(output_private_dir+'/'+clss.name+'Bridge.cpp', 'wb') as f:
f.write(populated) f.write(populated)
@ -69,4 +66,3 @@ class MatlabWrapperGenerator(object):
populated = tclassm.render(clss=clss, time=time) populated = tclassm.render(clss=clss, time=time)
with open(output_class_dir+'/'+clss.name+'.m', 'wb') as f: with open(output_class_dir+'/'+clss.name+'.m', 'wb') as f:
f.write(populated) f.write(populated)