Some cleanup, and update to make those files usable both as self-executables and module stuff...

Also updated update_mo to allwo specifying a custom po/mo file.
This commit is contained in:
2012-07-08 17:10:10 +00:00
parent 0c7b56cf39
commit dc459c8fea
11 changed files with 71 additions and 27 deletions

View File

@@ -28,8 +28,12 @@ import sys
from codecs import open
import shutil
import settings
import utils
try:
import settings
import utils
except:
from . import (settings, utils)
GETTEXT_MSGMERGE_EXECUTABLE = settings.GETTEXT_MSGMERGE_EXECUTABLE
BRANCHES_DIR = settings.BRANCHES_DIR