Revision af75e8a5 pithos/backends/modular.py
b/pithos/backends/modular.py | ||
---|---|---|
645 | 645 |
@backend_method |
646 | 646 |
def get_uuid(self, user, uuid): |
647 | 647 |
"""Return the (account, container, name) for the UUID given.""" |
648 |
|
|
648 | 649 |
logger.debug("get_uuid: %s", uuid) |
649 | 650 |
info = self.node.latest_uuid(uuid) |
650 | 651 |
if info is None: |
... | ... | |
657 | 658 |
@backend_method |
658 | 659 |
def get_public(self, user, public): |
659 | 660 |
"""Return the (account, container, name) for the public id given.""" |
661 |
|
|
660 | 662 |
logger.debug("get_public: %s", public) |
661 | 663 |
if public is None or public < ULTIMATE_ANSWER: |
662 | 664 |
raise NameError |
Also available in: Unified diff