Changeset 2277


Ignore:
Timestamp:
Feb 7, 2010 1:30:13 AM (9 years ago)
Author:
jwatson
Message:

Fixed problem with runph --profile option, broken by my recent factoring of phinit.py.

File:
1 edited

Legend:

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

    r2262 r2277  
    630630        #
    631631        tfile = pyutilib.services.TempfileManager.create_tempfile(suffix=".profile")
    632         tmp = cProfile.runctx('exec_ph(options,args)',globals(),locals(),tfile)
     632        tmp = cProfile.runctx('exec_ph(options)',globals(),locals(),tfile)
    633633        p = pstats.Stats(tfile).strip_dirs()
    634634        p.sort_stats('time', 'cum')
Note: See TracChangeset for help on using the changeset viewer.