Ignore:
Timestamp:
Oct 28, 2009 8:14:26 PM (11 years ago)
Author:
wehart
Message:

Rework of Coopr to use the new PyUtilib? package decomposition.

NOTE: to use Coopr with this update, we need to work with a new version of coopr_install.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coopr/pysp/ef_writer_script.py

    r1753 r1768  
    1414from optparse import OptionParser
    1515
    16 import pyutilib
     16import pyutilib.services
    1717import textwrap
    1818import traceback
     
    8585        # Call the main ef writer with profiling.
    8686        #
    87         tfile = pyutilib.TempfileManager.create_tempfile(suffix=".profile")
     87        tfile = pyutilib.services.TempfileManager.create_tempfile(suffix=".profile")
    8888        tmp = cProfile.runctx('run_ef_writer(options,args)',globals(),locals(),tfile)
    8989        p = pstats.Stats(tfile).strip_dirs()
     
    101101        p.print_callers(options.profile)
    102102        p.print_callees(options.profile)
    103         pyutilib.TempfileManager.clear_tempfiles()
     103        pyutilib.services.TempfileManager.clear_tempfiles()
    104104        ans = [tmp, None]
    105105    else:
Note: See TracChangeset for help on using the changeset viewer.