# Third party modules
# Own modules
+from . import __version__ as GLOBAL_VERSION
+
from .errors import PpAppError
from .common import terminal_can_colors
from .handler import ExpectedHandlerError, CrTplHandler
-__version__ = '0.6.2'
+__version__ = '0.6.3'
LOG = logging.getLogger(__name__)
# -------------------------------------------------------------------------
def __init__(
- self, appname=None, verbose=0, version=__version__, base_dir=None,
+ self, appname=None, verbose=0, version=GLOBAL_VERSION, base_dir=None,
initialized=False, usage=None, description=None,
argparse_epilog=None, argparse_prefix_chars='-', env_prefix=None):
"""
- LOG.info("Starting ...")
+ LOG.info("Starting {a!r}, version {!v} ...".format(
+ a=self.appname, v=self.version))
try:
ret = self.handler()