We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc16627 commit eee437fCopy full SHA for eee437f
1 file changed
msgcheck/po.py
@@ -32,13 +32,12 @@
32
33
# enchant module is optional, spelling is checked on demand
34
# (argument -s/--spell)
35
-ENCHANT_FOUND = False
36
try:
37
from enchant import Dict, DictWithPWL, DictNotFoundError
38
from enchant.checker import SpellChecker
39
ENCHANT_FOUND = True
40
except ImportError:
41
- pass
+ ENCHANT_FOUND = False
42
43
from . utils import count_lines, replace_formatters
44
@@ -520,7 +519,6 @@ def check_files(self, files):
520
519
po_file.filename)]))
521
continue
522
# compile the file (except if disabled)
523
- compile_output = ''
524
compile_rc = 0
525
if self.checks['compile']:
526
compile_output, compile_rc = po_file.compile()
0 commit comments