def _parseKeyName(self, name):
        """ Returns dict with fullpath, to, from. """
        if name.endswith(Store.theInfoExtension):
            return {'type': 'info'}

        match = self.keyPattern.match(name)
        if not match:
            return None

        match = match.groupdict()
        match.update(type='diff')

        return match
def _parseKeyName ( self , name ) : if name . endswith ( Store . theInfoExtension ) : return { 'type' : 'info' } match = self . keyPattern . match ( name ) if not match : return None match = match . groupdict ( ) match . update ( type = 'diff' ) return match
Returns dict with fullpath, to, from.