Skip to content

--iava lookup fails ungracefully on missing IAVAs #61

@ryran

Description

@ryran
$ rhsecapi --iava 2016-A-0000
Traceback (most recent call last):
  File "/home/rsaw/bin/rhsecapi", line 415, in <module>
    main(opts)
  File "/home/rsaw/bin/rhsecapi", line 372, in main
    iavaOutput = apiclient.mget_iavas(iavas=opts.iavas, numThreads=opts.threads, outFormat=opts.outFormat, urls=opts.printUrls)
  File "/g/dev-rhsecapi/rhsda.py", line 836, in mget_iavas
    results = p.get(timeout=timeout)
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 567, in get
    raise self._value
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

WHOOPS. I thought I took care of that. Something changed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions