Author: duncan
Date: Tue Jul  3 16:42:42 2007
New Revision: 9744

Log:
Removed the debug function as this is in config


Modified:
   branches/rel-1/freevo/src/encodingcore.py

Modified: branches/rel-1/freevo/src/encodingcore.py
==============================================================================
--- branches/rel-1/freevo/src/encodingcore.py   (original)
+++ branches/rel-1/freevo/src/encodingcore.py   Tue Jul  3 16:42:42 2007
@@ -48,12 +48,6 @@
 __copyright__ = 'Copyright (C) 2004 den_RDC'
 __license__ = 'GPL'
 
-def _debug_(text, level=1):
-    if DEBUG >= level:
-        try:
-            self.log.debug(String(text))
-        except:
-            print(String(text))
 
 #"hardcoded capabilities" .. these might change or become dynamic in the 
future, when more capabilities are supported
 #the "container format" will remain hardcoded
@@ -473,7 +467,7 @@
 
         if not foundtype: self.ntsc = True
 
-        if DEBUG:
+        if config.DEBUG:
             print 'All collected cropopts: %s' % crop_options
             if self.pal: print 'This is a PAL dvd'
             if self.ntsc: print 'This is an NTSC dvd'

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to