[orca/new-settings] Erasing debug print statements.



commit a3156b0cd738d4261ce49a7f919b87e0fa0c72b3
Author: Alejandro Leiva <aleiva emergya es>
Date:   Thu Dec 9 17:41:16 2010 +0100

    Erasing debug print statements.

 src/orca/orca_gui_prefs.py   |    2 --
 src/orca/orca_gui_profile.py |    2 --
 src/orca/settings_manager.py |    3 ++-
 3 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index f32e5d5..b3f8836 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -886,8 +886,6 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
         - systemName: the speech system name to use to set the active combo
         box item.
         """
-
-        print "_setSpeechSystemsChoice, systemName is: %s" % systemName
         # JD -> JH: We aren't expecting this string in quotes, yet we
         # seem to be getting it that way from the gconf backend. That
         # is causing the 'endswith(systemName)' test to fail. That in
diff --git a/src/orca/orca_gui_profile.py b/src/orca/orca_gui_profile.py
index 4011bd9..8728628 100644
--- a/src/orca/orca_gui_profile.py
+++ b/src/orca/orca_gui_profile.py
@@ -172,8 +172,6 @@ def showProfileUI():
         OS.init()
 
     OS.showGUI()
-   
-    print 'profile = ', newProfile
 
     return newProfile
  
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 35eb241..3236f9c 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -430,7 +430,8 @@ def getValueForKey(prefsDict, key):
                 try:
                     value = getattr(settings, prefsDict[key])
                 except:
-                    print "Something wrong with - ", key
+                    debug.println(debug.LEVEL_SEVERE, "Something went wront with key: " % key)
+                    debug.printStack(debug.LEVEL_FINEST)
         else:
             value = prefsDict[key]
     return value



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]