Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123078
D3143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
833 B
Subscribers
None
D3143.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 7:51 PM (1 w, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221612
Attached To
D3143: cli.db: Fix pep8 violation
Event Timeline
Log In to Comment