diff --git a/swh/loader/svn/loader.py b/swh/loader/svn/loader.py index 33a733330faa99a23152c13efa4452152e67d480..a069575453b6c43be8476232a721dbcabf032bfb 100644 --- a/swh/loader/svn/loader.py +++ b/swh/loader/svn/loader.py @@ -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)