

def __init__(self, path, modtime=None):
    log.debug('Creating FileSystemEntry from path %r.', path)
    try:
        self._stat = os.lstat(path)
    except OSError as e:
        log.error("stat() failed on path: '%s' (%s).", path, e)
        raise
    t.type = self._get_type(self._stat)
    log.debug('Detected type %s.', self.type)
    if (modtime is None):
        modtime = self._stat.st_mtime
    else:
        log.debug("Don't use stat mtime, use %s.", modtime)
    self.path = path
    t = path
    if (not isinstance(t, text_type)):
        t = t.decode(sys.getfilesystemencoding())
    FilterItem.__init__(self, text=t, modtime=modtime)

dataset/ETHPy150Open jgehrcke/timegaps/timegaps/timegaps.py FileSystemEntry.__init__/VarMisuse@62/100 `self`->`t`