'Apply all patches'

def apply_patches(self):

    for filename in self.source_files:
        patched_source = self._unquote(self.source_files[filename].format(**self.patches))
        self._save_changes(filename, patched_source)
    self.clear()
