Skip to content
Snippets Groups Projects
Verified Commit 0b2ba6a7 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

swh.loader.svn.loader: Remove error as snap/rev can be empty

Example: Svn repository with first commit in errors.
parent e9dab3f3
Branches towards-put-all-objects
No related tags found
No related merge requests found
......@@ -405,8 +405,7 @@ class SWHSvnLoader(SWHLoader):
snap = build_swh_snapshot(revision['id'])
snap['id'] = identifier_to_bytes(snapshot_identifier(snap))
else:
raise ValueError('Development error, revision or snapshot should '
'be provided')
return None
self.log.debug('snapshot: %s' % snap)
self.maybe_load_snapshot(snap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment