Changeset 6119


Ignore:
Timestamp:
Jan 6, 2009, 11:36:24 AM (16 years ago)
Author:
ole
Message:

Fiddled with dependency graph and minor clean up

Files:
3 edited

Legend:

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

    r5897 r6119  
    384384
    385385
    386 if __name__ == "__main__":
     386if __name__ == '__main__':
    387387    pass
    388388
  • anuga_core/source/anuga/utilities/polygon.py

    r6116 r6119  
    969969#Initialise module
    970970
    971 from anuga.utilities.compile import can_use_C_extension
    972 if can_use_C_extension('polygon_ext.c'):
     971from anuga.utilities import compile
     972if compile.can_use_C_extension('polygon_ext.c'):
    973973    # Underlying C implementations can be accessed
    974974    from polygon_ext import _point_on_line
  • misc/tools/dependency_graphs/anuga_depgraph2dot.py

    r6118 r6119  
    2929
    3030        if s=='__main__':
    31             # references *to* __main__ are never interesting. omitting them means
    32             # that main floats to the top of the page
    33             return 1
     31            # references *to* __main__ are never interesting.
     32            # Omitting them means that __main__ floats to the top of the page
     33            return True
    3434           
    3535        #if type in [imp.PY_SOURCE, imp.C_EXTENSION] and s.startswith('anuga'):
    3636        if type in [imp.PY_SOURCE, imp.PKG_DIRECTORY] and s.startswith('anuga'):
    37         #if type in [imp.PKG_DIRECTORY] and s.startswith('anuga'):
    3837            # Only consider ANUGA source modules and packages
    3938           
Note: See TracChangeset for help on using the changeset viewer.