# Path: moa/sysConf.py
# USERCONFIGFILE = os.path.join(os.path.expanduser('~'),
#                               '.config', 'moa', 'config')
# SYSCONFIGFILE = os.path.join('etc', 'moa', 'config')
# def _interpret_var(v):
#     def __init__(self):
#     def getUser(self):
#     def saveUser(self, conf):
#     def getVersion(self):
# class SysConf(Yaco.Yaco):


import os
import re
import sys
import time
import glob
import errno
import shutil
import readline
import traceback
import subprocess
import contextlib
import jinja2.exceptions
import moa.moajinja
import moa.logger as l
            import traceback
from moa.sysConf import sysConf
#!/usr/bin/env python
# Copyright 2009-2011 Mark Fiers
# The New Zealand Institute for Plant & Food Research
# 
# This file is part of Moa - http://github.com/mfiers/Moa
# 
# Licensed under the GPL license (see 'COPYING')
# 
"""
moa.ui
------

communicate information to the user
"""





################################################################################
##
## user interface
##
## Note that anything printed to screen via message, warn, error 
## and exitError automatically is included in the job changemessage
##
################################################################################

FORMAT_CODES_ANSI = {}


# Path: moa/sysConf.py
# USERCONFIGFILE = os.path.join(os.path.expanduser('~'),
#                               '.config', 'moa', 'config')
# SYSCONFIGFILE = os.path.join('etc', 'moa', 'config')
# def _interpret_var(v):
#     def __init__(self):
#     def getUser(self):
#     def saveUser(self, conf):
#     def getVersion(self):
# class SysConf(Yaco.Yaco):


# Path: moa/ui.py
import os
import re
import sys
import time
import glob
import errno
import shutil
import readline
import traceback
import subprocess
import contextlib
import jinja2.exceptions
import moa.moajinja
import moa.logger as l
            import traceback
from moa.sysConf import sysConf

#!/usr/bin/env python
# Copyright 2009-2011 Mark Fiers
# The New Zealand Institute for Plant & Food Research
# 
# This file is part of Moa - http://github.com/mfiers/Moa
# 
# Licensed under the GPL license (see 'COPYING')
# 
"""
moa.ui
------

communicate information to the user
"""





################################################################################
##
## user interface
##
## Note that anything printed to screen via message, warn, error 
## and exitError automatically is included in the job changemessage
##
################################################################################

FORMAT_CODES_ANSI = {}


for c in sysConf.ansi: