# Path: magnate/logging.py



import enum
import os
import voluptuous as v
from functools import partial
from voluptuous.humanize import validate_with_humanized_errors as v_validate
    from yaml import CSafeLoader as Loader
    from yaml import SafeLoader as Loader
from ..logging import log
# Stellar Magnate - A space-themed commodity trading game
# Copyright (C) 2018 Toshio Kuratomi <toshio@fedoraproject.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
"""
Routines to load base game types from data files
"""


try:  # pragma: no cover
except ImportError:  # pragma: no cover




# Path: magnate/logging.py



# Path: magnate/savegame/base_types.py
import enum
import os
import voluptuous as v
from functools import partial
from voluptuous.humanize import validate_with_humanized_errors as v_validate
    from yaml import CSafeLoader as Loader
    from yaml import SafeLoader as Loader
from ..logging import log

# Stellar Magnate - A space-themed commodity trading game
# Copyright (C) 2018 Toshio Kuratomi <toshio@fedoraproject.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
"""
Routines to load base game types from data files
"""


try:  # pragma: no cover
except ImportError:  # pragma: no cover




mlog = log.fields(mod=__name__)