-import re, urlparse
+import exceptions, re, urlparse
type_patterns = {
'checksums': re.compile(r"^snapshot-(.*)\.(\w+)sums$"),
'snapshots': re.compile(r"^snapshot-(.*)\.lbs$")
}
+class NotFoundError(exceptions.KeyError):
+ """Exception thrown when a file is not found in a repository."""
+
+ pass
+
class Store:
"""Base class for all cumulus storage backends."""