def _memcache_key(self, timestamped=False):
request = tuple(map(str, self.package_requests))<EOL>repo_ids = []<EOL>for path in self.package_paths:<EOL><INDENT>repo = package_repository_manager.get_repository(path)<EOL>repo_ids.append(repo.uid)<EOL><DEDENT>t = ["<STR_LIT>",<EOL>request,<EOL>tuple(repo_ids),<EOL>self.package_filter_hash,<EOL>self.package_orderers_hash,<EOL>self.building,<EOL>config.prune_failed_graph]<EOL>if timestamped and self.timestamp:<EOL><INDENT>t.append(self.timestamp)<EOL><DEDENT>return str(tuple(t))<EOL>
Makes a key suitable as a memcache entry.