def get_needful_files(self):
manifest = self.storage.load_manifest()<EOL>if self.keep_unhashed_files:<EOL><INDENT>if PY3:<EOL><INDENT>needful_files = set(manifest.keys() | manifest.values())<EOL><DEDENT>else:<EOL><INDENT>needful_files = set(manifest.keys() + manifest.values())<EOL><DEDENT>needful_files = {self.storage.clean_name(file) for file in needful_files}<EOL><DEDENT>else:<EOL><INDENT>needful_files = set(manifest.values())<EOL><DEDENT>return {self.process_file(file) for file in needful_files}<EOL>
Returns currently used static files.
Assumes that manifest staticfiles.json is up-to-date.