[Swift-commit] r5280 - SwiftApps/GOSwift/pykoa/tools

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Thu Nov 10 20:42:26 CST 2011


Author: jonmon
Date: 2011-11-10 20:42:26 -0600 (Thu, 10 Nov 2011)
New Revision: 5280

Modified:
   SwiftApps/GOSwift/pykoa/tools/koa_goswift_run.py
Log:
o GOSwift
  -- goswift_run now outputs a more cleaner output


Modified: SwiftApps/GOSwift/pykoa/tools/koa_goswift_run.py
===================================================================
--- SwiftApps/GOSwift/pykoa/tools/koa_goswift_run.py	2011-11-10 19:50:44 UTC (rev 5279)
+++ SwiftApps/GOSwift/pykoa/tools/koa_goswift_run.py	2011-11-11 02:42:26 UTC (rev 5280)
@@ -1,4 +1,5 @@
 #!/usr/bin/python
+
 import os
 import re
 import sys
@@ -27,7 +28,11 @@
         self.lines = []
 
     def stdout_event(self, line):
-        sys.stdout.write(line)
+        line_split = line.split(" ")
+        line_split = line_split[3:]
+        for parse in line_split:
+            sys.out.write(parse+" ")
+
         self.lines.append(line)
         return
 




More information about the Swift-commit mailing list