Removed some debug statements
authorHilton Bristow <hilton.bristow@gmail.com>
Mon, 18 Mar 2013 04:48:52 +0000 (14:48 +1000)
committerhbristow <hilton.bristow@gmail.com>
Mon, 17 Jun 2013 06:51:24 +0000 (16:51 +1000)
modules/matlab/generator/gen_matlab.py

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