Changeset 4813


Ignore:
Timestamp:
Nov 12, 2007, 5:14:33 PM (17 years ago)
Author:
ole
Message:

Cosmetics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/compile.py

    r4812 r4813  
    1515
    1616import os, string, sys, types
     17
     18separation_line = '---------------------------------------'     
    1719 
    1820def compile(FNs=None, CC=None, LD = None, SFLAG = None, verbose = 1):
     
    3032  # Input check
    3133  #
    32   assert not FNs is None, "No filename provided"
     34  assert not FNs is None, 'No filename provided'
    3335
    3436  if not type(FNs) == types.ListType:
     
    155157  # Verify that compiler can be executed
    156158  print 'Compiler: %s, version ' %compiler,
     159  sys.stdout.flush()
    157160  s = '%s -dumpversion' %(compiler)
    158161  err = os.system(s)
    159162  print
     163 
    160164  if err != 0:
    161165      msg = 'Unable to execute compiler: %s. ' %compiler
     
    412416                  pass
    413417
    414           print '---------------------------------------'     
     418          print separation_line
    415419          print 'Trying to compile c-extension %s in %s'\
    416420                %(filename, os.getcwd())
Note: See TracChangeset for help on using the changeset viewer.