2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-21 18:53:15 +00:00

Stub out server side locate operation.

This commit is contained in:
Wyllys
2014-09-11 18:04:22 -04:00
parent a2b71a1f1c
commit aa300b256c
3 changed files with 28 additions and 9 deletions

View File

@@ -48,7 +48,4 @@ class MemRepo(ManagedObjectRepo):
def locate(self, maximum_items, storage_status_mask,
object_group_member, attributes):
# TODO - search objects, find one with matching attrs
if "1" in self.repo:
return [self.repo["1"]]
return None
raise NotImplementedError