[Nvda-dev] commit r2370 - trunk/source

NVDA Subversion svn at nvda-project.org
Sat Sep 6 03:55:16 UTC 2008


Author: mdcurran
Date: Sat Sep  6 03:55:14 2008
New Revision: 2370

Log:
core.main: move code to log version of comtypes up before comtypes is used for anything. This should mean that we can see the version of comtypes even if say comInterfaces.IAccessibl2lib or something failed to be imported.

Modified:
   trunk/source/core.py

Modified: trunk/source/core.py
==============================================================================
--- trunk/source/core.py	(original)
+++ trunk/source/core.py	Sat Sep  6 03:55:14 2008
@@ -68,6 +68,7 @@
 	log.info("NVDA version %s" % versionInfo.version)
 	log.info("Using Windows version %r" % (sys.getwindowsversion(),))
 	log.info("Using Python version %s"%sys.version)
+	log.info("Using comtypes version %s"%comtypes.__version__)
 	log.debug("Creating wx application instance")
 	import speechDictHandler
 	log.debug("Speech Dictionary processing")
@@ -132,7 +133,6 @@
 		else:
 			speech.speakMessage(_("NVDA started"))
 	import queueHandler
-	log.info("Using comtypes version %s"%comtypes.__version__)
 	class CorePump(wx.Timer):
 		"Checks the queues and executes functions."
 		def __init__(self,*args,**kwargs):



More information about the Nvda-dev mailing list