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:
@@ -24,11 +24,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user