This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from swift.common.utils import audit_location_generator | |
from swift.container.backend import ContainerBroker | |
if __name__ == '__main__': | |
locations = audit_location_generator('/srv/node', 'containers', '.db') | |
for path, _, _ in locations: |
OlderNewer