Changed show to return a string rather than print
diff --git a/tools/munger/scripts/action_gen.py b/tools/munger/scripts/action_gen.py
index 8746faf..490fa54 100644
--- a/tools/munger/scripts/action_gen.py
+++ b/tools/munger/scripts/action_gen.py
@@ -77,8 +77,9 @@
self.type = --ACTION_NAME--
self.len = self.__len__()
def show(self, prefix=''):
- print prefix + "action_--TYPE--"
- --PARENT_TYPE--.show(self, prefix)
+ outstr += prefix + "action_--TYPE--\\n"
+ outstr += --PARENT_TYPE--.show(self, prefix)
+ return outstr
"""
if __name__ == '__main__':