[orca/new-settings] Deleting trace sentences. Being more pythonic.
- From: Alejandro Leiva <aleiva src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Deleting trace sentences. Being more pythonic.
- Date: Fri, 10 Dec 2010 23:55:02 +0000 (UTC)
commit 283d98533ae379731b2337be021b8c3665ee5cae
Author: Alejandro Leiva <aleiva emergya es>
Date: Sat Dec 11 00:54:31 2010 +0100
Deleting trace sentences. Being more pythonic.
src/orca/settings_manager.py | 4 ++--
src/orca/speechdispatcherfactory.py | 4 ----
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index be36044..5e383ad 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -193,9 +193,9 @@ class SettingsManager(object):
def _loadUserCustomizations(self):
pathList = [settings.userPrefsDir]
- (fileHnd, moduleName, Desc) = imp.find_module("orca-customizations", pathList)
+ (fileHnd, moduleName, desc) = imp.find_module("orca-customizations", pathList)
try:
- imp.load_module("orca-customizations", fileHnd, moduleName, Desc)
+ imp.load_module("orca-customizations", fileHnd, moduleName, desc)
except:
pass
finally:
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 155904d..baecf97 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -129,13 +129,9 @@ class SpeechServer(speechserver.SpeechServer):
getSpeechServer = staticmethod(getSpeechServer)
def shutdownActiveServers():
- print "speechdispatcherfactory.shutdownActiveServers"
if not SpeechServer._active_servers:
- print " HANG LIKELY: NO ACTIVE SERVERS TO SHUTDOWN"
for server in SpeechServer._active_servers.values():
- print " server is", server
server.shutdown()
- print "shutdownActiveServers Completed"
shutdownActiveServers = staticmethod(shutdownActiveServers)
# *** Instance methods ***
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]