Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv22389

Modified Files:
        main.py 
Log Message:
bugfix and add config.TIME_DEBUG to trace the needed time

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** main.py     30 Dec 2003 15:34:02 -0000      1.100
--- main.py     1 Jan 2004 12:27:38 -0000       1.101
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.101  2004/01/01 12:27:38  dischi
+ # bugfix and add config.TIME_DEBUG to trace the needed time
+ #
  # Revision 1.100  2003/12/30 15:34:02  dischi
  # o move the shutdown function to plugins/shutdown
***************
*** 149,153 ****
          menuw.menustack[0].choices = []
          for p in plugin.get('mainmenu'):
!             menuw.menustack[0].choices += p.items(parent)
  
          menuw.menustack[0].selected = menuw.menustack[0].choices[pos]
--- 152,156 ----
          menuw.menustack[0].choices = []
          for p in plugin.get('mainmenu'):
!             menuw.menustack[0].choices += p.items(self)
  
          menuw.menustack[0].selected = menuw.menustack[0].choices[pos]
***************
*** 444,448 ****
--- 447,455 ----
              if app:
                  try:
+                     if config.TIME_DEBUG:
+                         t1 = time.clock()
                      app.eventhandler(event)
+                     if config.TIME_DEBUG:
+                         print time.clock() - t1
                  except SystemExit:
                      raise SystemExit




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to