nvda
cde8b7e3 - Modify appModuleHandler.AppModule._setProductInfo after code review by James Teh on http://community.nvda-project.org/ticket/1625#comment:20

Commit
12 years ago
Modify appModuleHandler.AppModule._setProductInfo after code review by James Teh on http://community.nvda-project.org/ticket/1625#comment:20 Specifically: - Only errors/exceptions are inside a if block to make the code easier to read; - Remove creating a duplicate of the variable l; - Change getting codepage by only getting the first 4 bytes without using array.tolist; - Do not concatenate strings and change code presentation when getting version information; - Use RuntimeError instead of Exception; - Fix spelling.
Author
Committer
Parents
Loading