From cf3220d1fb1b8f5170ac36fc68e7f77b147e8715 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Tue, 5 Sep 2017 11:38:11 +0200 Subject: [PATCH] github.models: handle the fork argument --- swh/lister/github/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swh/lister/github/models.py b/swh/lister/github/models.py index a82c2e1..32055a7 100644 --- a/swh/lister/github/models.py +++ b/swh/lister/github/models.py @@ -16,4 +16,5 @@ class GitHubModel(ModelBase): fork = Column(Boolean) def __init__(self, *args, **kwargs): + self.fork = kwargs.pop('fork', False) super().__init__(*args, **kwargs)