From 9f80661670d4d98868a5d289f6c09fb415ddc451 Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Mon, 8 Apr 2019 15:13:36 +0200
Subject: [PATCH] Remove debug prints.

---
 swh/model/hypothesis_strategies.py | 1 -
 swh/model/identifiers.py           | 2 --
 2 files changed, 3 deletions(-)

diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py
index e2ca4c60..3b046ca2 100644
--- a/swh/model/hypothesis_strategies.py
+++ b/swh/model/hypothesis_strategies.py
@@ -165,7 +165,6 @@ def snapshots(draw, *, min_size=0, max_size=100, only_objects=False):
                     name: branch.to_dict()
                     for (name, branch) in branches.items()}})
         except ValueError as e:
-            print(e.args)
             for (source, target) in e.args[1]:
                 branches[source] = draw(branch_targets(only_objects=True))
         else:
diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py
index 486639e6..e7508ebc 100644
--- a/swh/model/identifiers.py
+++ b/swh/model/identifiers.py
@@ -581,8 +581,6 @@ def snapshot_identifier(snapshot, *, ignore_unresolved=False):
             if target_id not in snapshot['branches'] or target_id == name:
                 unresolved.append((name, target_id))
         else:
-            print(name)
-            print(target)
             target_type = target['target_type'].encode()
             target_id = identifier_to_bytes(target['target'])
 
-- 
GitLab