There was an error while loading. Please reload this page.
1 parent d7c3852 commit 7db2b97Copy full SHA for 7db2b97
1 file changed
scanpipe/pipes/utils.py
@@ -23,14 +23,13 @@
23
import hashlib
24
import logging
25
import os
26
-import requests
27
import shutil
28
import subprocess
29
-
30
from fnmatch import fnmatch
31
from pathlib import Path
32
from urllib.parse import urlparse
33
+import requests
34
from license_expression import Licensing
35
from packageurl import PackageURL
36
from packageurl.contrib.purl2url import get_repo_download_url_by_package_type
@@ -523,6 +522,7 @@ def fetch_path(purl):
523
522
logger.warning("Failed to fetch package: %s - %s", purl, e)
524
return None
525
+
526
def check_docker_command():
527
"""Check if the Docker command is available and the daemon is running."""
528
docker_path = shutil.which("docker")
0 commit comments