NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

Changeset 343

Show
Ignore:
Timestamp:
08/26/10 14:03:56
Author:
cbc
Message:

Rearrange file closure to flush buffers.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spongenet/trunk/spongenet/expand.py

    r342 r343  
    270270    >>> reffile = ref_handle.read() 
    271271    >>> xmlfile = xml_handle.read() 
    272     >>> reffile == xmlfile 
    273     True 
    274272    >>> ref_handle.close() 
    275273    >>> xml_handle.close() 
     274    >>> reffile == xmlfile 
     275    True 
    276276    >>> os.path.exists(xml_subdir) 
    277277    False