aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Zeren <mzeren@vmware.com>2023-10-28 16:48:09 +0200
committerMark Zeren <mzeren@vmware.com>2023-10-28 16:48:09 +0200
commit505741e10ff1cb9380205af03a1c034277e82dbd (patch)
treea5071e71b4c6149b62e1d7852242cfe221e3b35f
parent4135ed6339a89a4a001f4ef20a69a50d5b3c34ad (diff)
downloadbazelbuild-rules_license-505741e10ff1cb9380205af03a1c034277e82dbd.tar.gz
import sbom from tools, because that's the module
-rw-r--r--tools/write_sbom.py2
-rw-r--r--tools/write_workspace_sbom.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/write_sbom.py b/tools/write_sbom.py
index 84ce430..58ed6dd 100644
--- a/tools/write_sbom.py
+++ b/tools/write_sbom.py
@@ -21,7 +21,7 @@ This is only a demonstration. It will be replaced with other tools.
import argparse
import codecs
import json
-import sbom
+from tools import sbom
TOOL = 'https//github.com/bazelbuild/rules_license/tools:write_sbom'
diff --git a/tools/write_workspace_sbom.py b/tools/write_workspace_sbom.py
index a466e75..90a7df2 100644
--- a/tools/write_workspace_sbom.py
+++ b/tools/write_workspace_sbom.py
@@ -21,7 +21,7 @@ This is only a demonstration. It will be replaced with other tools.
import argparse
import codecs
import json
-import sbom
+from tools import sbom
import subprocess
import os