def _switch_to_getcwd(msg, *args):
    global _pwd_mode
    _pwd_mode = 'cwd'
    lgr.debug((msg + '. From now on will be returning os.getcwd(). Directory symlinks in the paths will be resolved'), *args)
def _switch_to_getcwd(msg, *args):
    global _pwd_mode
    _pwd_mode = 'cwd'
    lgr.debug((msg + '. From now on will be returning os.getcwd(). Directory symlinks in the paths will be resolved'), *args)