Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(1)  |  Derive(0)  |  Import(3)

src/l/a/Lampost-Mud-HEAD/lampost/mud/immortal.py   Lampost-Mud(Download)
from lampost.model.area import Area
from lampost.gameops.action import ActionError
from lampost.context.resource import m_requires, get_resource
from lampost.mud.action import imm_action
from lampost.model.player import Player
def log_level(args, **_):
    log = get_resource("log")
    if args:
        log._set_level(args[0])
    return "Log level at {0}".format(log.level_desc)

src/l/a/Lampost-Mud-HEAD/lampost/util/lmlog.py   Lampost-Mud(Download)
import traceback
 
from sys import stdout
from datetime import datetime
from lampost.context.resource import m_requires, provides, get_resource

src/l/a/Lampost-Mud-HEAD/lampost/client/resources.py   Lampost-Mud(Download)
 
from lampost.util.lmlog import logged
from lampost.context.resource import m_requires, get_resource
from lampost.util.lmutil import PermError, StateError, Blank