Added traceback print when dictionary error.
svn: r17580
This commit is contained in:
		| @@ -103,6 +103,8 @@ class Spell(object): | |||||||
|                     gtkspell_spell = gtkspell.Spell(self.textview) |                     gtkspell_spell = gtkspell.Spell(self.textview) | ||||||
|                     self._active_spellcheck = spellcheck_code |                     self._active_spellcheck = spellcheck_code | ||||||
|                 except: |                 except: | ||||||
|  |                     import traceback | ||||||
|  |                     print traceback.print_exc() | ||||||
|                     # attaching the spellchecker will fail if |                     # attaching the spellchecker will fail if | ||||||
|                     # the language does not exist |                     # the language does not exist | ||||||
|                     # and presumably if there is no dictionary |                     # and presumably if there is no dictionary | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user