~bertrand-rousseau/gtg/new-tag-label-in-taskviews

« back to all changes in this revision

Viewing changes to profile.py

  • Committer: Luca Invernizzi
  • Date: 2009-12-28 14:29:00 UTC
  • Revision ID: invernizzi.l@gmail.com-20091228142900-nrpckht610f6m5yp
pep8ification  (1957->1924)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
parser = OptionParser()
8
8
parser.add_option("-d", "--debug",
9
 
                  action="store_true", dest="debug", help="enable debug output")
 
9
               action="store_true", dest="debug", help="enable debug output")
10
10
(options, args) = parser.parse_args()
11
11
 
12
 
cProfile.run( "GTG.gtg.main(options, args)", filename="gtg.profile" ) 
 
12
cProfile.run("GTG.gtg.main(options, args)", filename="gtg.profile")
13
13
 
14
14
p = pstats.Stats('gtg.profile')
15
15
p.sort_stats('cumulative').print_stats(15)
16
16
p.sort_stats('time').print_stats(15)
17
 
p.sort_stats('calls').print_stats(15)
 
 
b'\\ No newline at end of file'
 
17
p.sort_stats('calls').print_stats(15)