scruffy/file.py
def apply_config(self, applicator):
        """
        Replace any config tokens with values from the config.
        """
        if type(self._path) == str:
            self._path = applicator.apply(self._path)

        for key in self._children:
            self._children[key].apply_config(applicator)
def apply_config(self, applicator):
        if type(self._path) == str:
            self._path = applicator.apply(self._path)

        for key in self._children:
            self._children[key].apply_config(applicator)
def apply_config ( self , applicator ) : if type ( self . _path ) == str : self . _path = applicator . apply ( self . _path ) for key in self . _children : self . _children [ key ] . apply_config ( applicator )
Replace any config tokens with values from the config.
Replace any config tokens with values from the config .