def setup_logging(self, loglevel='WARNING', logfile=None, **kwargs): return setup_logging(loglevel, logfile)
def drop_into_shell(self): from cyme.utils import setup_logging if os.environ.get("CYME_LOG_DEBUG"): setup_logging("DEBUG") self.env.management.call_command("shell")
def drop_into_shell(self): from cyme.utils import setup_logging if os.environ.get('CYME_LOG_DEBUG'): setup_logging('DEBUG') self.env.management.call_command('shell')