def _cache_key(self, attr_name):
dn = self._ldap_user.dn.replace('<STR_LIT:U+0020>', '<STR_LIT>')<EOL>key = u'<STR_LIT>' % (self.__class__.__name__, attr_name, dn)<EOL>return key<EOL>
Memcache keys can't have spaces in them, so we'll remove them from the
DN for maximum compatibility.