memory: fixes issue in a test
This commit is contained in:
parent
ba2cf4d448
commit
0da2c0228f
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ class Memory(object):
|
|||
if not profile:
|
||||
raise exceptions.ProfileUnknownError(_('Trying to get entity data for a non-existant profile'))
|
||||
entities_data = self._getEntitiesData(entity_jid, profile)
|
||||
if entity_jid.resource and entity_jid != C.ENTITY_ALL:
|
||||
if entity_jid != C.ENTITY_ALL and entity_jid.resource:
|
||||
self._updateEntityResources(entity_jid, profile)
|
||||
|
||||
for jid_ in entities_data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue