Page MenuHomeSoftware Heritage

D3143.diff
No OneTemporary

D3143.diff

diff --git a/swh/core/cli/db.py b/swh/core/cli/db.py
--- a/swh/core/cli/db.py
+++ b/swh/core/cli/db.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (C) 2018 The Software Heritage developers
+# Copyright (C) 2018-2020 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
@@ -10,13 +10,15 @@
import subprocess
import warnings
-warnings.filterwarnings("ignore") # noqa prevent psycopg from telling us sh*t
-
import click
from swh.core.cli import CONTEXT_SETTINGS
from swh.core.config import read as config_read
+
+warnings.filterwarnings("ignore") # noqa prevent psycopg from telling us sh*t
+
+
logger = logging.getLogger(__name__)

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 17, 7:51 PM (6 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221612

Event Timeline