i18n Python scripts: minor changes

- Remove unnecessary imports

  These imports were a leftover from early versions; now, they are done
  in modules such as flightgear.meta.i18n and don't need to be in the
  calling scripts anymore.

- Fix an exception message
This commit is contained in:
Florent Rougon
2017-09-17 16:18:06 +02:00
parent 6b970f8e02
commit 54d6196698
4 changed files with 1 additions and 17 deletions
@@ -25,11 +25,6 @@ import locale
import os
import sys
try:
import xml.etree.ElementTree as et
except ImportError:
import elementtree.ElementTree as et
import flightgear.meta.logging
import flightgear.meta.i18n as fg_i18n