Code and GUI text cleanup (#926)
* Move int range checkers from options class to common file * Improve error handling and reporting * Make some minor improvements to init and test suite * Fix 'trypewriter' to 'typewriter' typo * Remove menu path description in dialog help text * Improve the help text for entries in the Format menu * Reword a couple of dialog messages
This commit is contained in:
committed by
GitHub
parent
e71121f738
commit
e8bb130245
+4
-4
@@ -33,14 +33,14 @@ def cmpFiles(fileOne, fileTwo, ignoreLines=None, ignoreStart=None):
|
||||
|
||||
try:
|
||||
foOne = open(fileOne, mode="r", encoding="utf-8")
|
||||
except Exception as e:
|
||||
print(str(e))
|
||||
except Exception as exc:
|
||||
print(str(exc))
|
||||
return False
|
||||
|
||||
try:
|
||||
foTwo = open(fileTwo, mode="r", encoding="utf-8")
|
||||
except Exception as e:
|
||||
print(str(e))
|
||||
except Exception as exc:
|
||||
print(str(exc))
|
||||
return False
|
||||
|
||||
txtOne = foOne.readlines()
|
||||
|
||||
Reference in New Issue
Block a user