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

@@ -26,8 +26,11 @@ import os
import sys
from codecs import open
import settings
import utils
try:
import settings
import utils
except:
from . import (settings, utils)
TRUNK_PO_DIR = settings.TRUNK_PO_DIR
BRANCHES_DIR = settings.BRANCHES_DIR