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

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Thu Jul 7 11:47:45 CDT 2011


Author: jonmon
Date: 2011-07-07 11:47:45 -0500 (Thu, 07 Jul 2011)
New Revision: 4793

Modified:
   SwiftApps/GOSwift/pykoa/tools/koa_goswift.py
Log:
o whitespace changes


Modified: SwiftApps/GOSwift/pykoa/tools/koa_goswift.py
===================================================================
--- SwiftApps/GOSwift/pykoa/tools/koa_goswift.py	2011-07-07 16:45:50 UTC (rev 4792)
+++ SwiftApps/GOSwift/pykoa/tools/koa_goswift.py	2011-07-07 16:47:45 UTC (rev 4793)
@@ -79,7 +79,7 @@
     tc       = ""
 
     for line in lines:
- 
+
         if line == "# begin tc":
             begin_tc = True
 
@@ -89,7 +89,7 @@
 
         elif begin_tc:
             tc += line + "\n"
-    
+
     return tc
 
 def extract_sites( lines ):
@@ -97,7 +97,7 @@
     sites       = ""
 
     for line in lines:
- 
+
         if line == "# begin sites":
             begin_sites = True
 
@@ -107,7 +107,7 @@
 
         elif begin_sites:
             sites += line + "\n"
-    
+
     return sites
 
 def extract_config( lines ):
@@ -115,7 +115,7 @@
     config       = ""
 
     for line in lines:
- 
+
         if line == "# begin config":
             begin_config = True
 
@@ -125,7 +125,7 @@
 
         elif begin_config:
             config += line + "\n"
-    
+
     return config
 
 def extract_script( lines ):
@@ -133,7 +133,7 @@
     script       = ""
 
     for line in lines:
- 
+
         if line == "# begin script":
             begin_script = True
 
@@ -143,7 +143,7 @@
 
         elif begin_script:
             script += line + "\n"
-    
+
     return script
 
 # Do not know what this syntax is but pops up in other pykoa_* files.
@@ -186,7 +186,7 @@
         run_directory = run + '.' + str( int ( run_num ) + 1 )
 
     os.mkdir( '/home/jonmon/swift/'+run_directory )
-    
+
     # TODO: check for IOException and return error code for IOErrors
     tc_file = open( '/home/jonmon/swift/'+run_directory+'/tc', 'w' )
     sites_file = open( '/home/jonmon/swift/'+run_directory+'/sites.xml', 'w' )




More information about the Swift-commit mailing list