src/borg/patterns.py
def _add(self, pattern, cmd):
        """*cmd* is an IECommand value.
        """
        if isinstance(pattern, PathFullPattern):
            key = pattern.pattern  # full, normalized path
            self._path_full_patterns[key] = cmd
        else:
            self._items.append((pattern, cmd))
*cmd* is an IECommand value.
        
cmd* is an IECommand value.
cmd * is an IECommand value .
def _add(self, pattern, cmd):
        if isinstance(pattern, PathFullPattern):
            key = pattern.pattern  
            self._path_full_patterns[key] = cmd
        else:
            self._items.append((pattern, cmd))
def _add ( self , pattern , cmd ) : if isinstance ( pattern , PathFullPattern ) : key = pattern . pattern self . _path_full_patterns [ key ] = cmd else : self . _items . append ( ( pattern , cmd ) )
cmd* is an IECommand value.
cmd * is an IECommand value .
"""*cmd* is an IECommand value.
        """ # full, normalized path
self
pattern
cmd