Skip to content

Commit 339abb6

Browse files
author
Glenn Snyder
committed
cleaning up couple things
1 parent 1282ab5 commit 339abb6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/find_github_repos_in_bd_kb.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
parser = argparse.ArgumentParser("Given the URL to a Github repository, find it in the Black Duck KB and return any info available")
1515
parser.add_argument("github_url")
1616
parser.add_argument("-l", "--limit", type=int, default=100, help="The number of components to return with each call to the REST API (default: 100)")
17-
# parser.add_argument("-t", "--total", type=int, default=99999, help="The total number of components to retrieve")
1817
args = parser.parse_args()
1918

2019
logging.basicConfig(format='%(asctime)s%(levelname)s:%(message)s', stream=sys.stderr, level=logging.DEBUG)
@@ -48,8 +47,6 @@ def has_github_link(links):
4847

4948
hub = HubInstance()
5049

51-
# search_url = hub.get_apibase() + "/v1/search/PROJECT?ownership=1&ownership=3"
52-
5350
#
5451
# Get the repo name which, for now, is defined as the last "part" in the pathname to the repo
5552
# The repo name will be used to search the Black Duck KB, e.g.

0 commit comments

Comments
 (0)