Commit 7e547cf4 authored by Pieter-Jan Moreels's avatar Pieter-Jan Moreels
Browse files

Merge branch 'objectify' of http://github.com/cve-search/cve-search into objectify

parents 7157ae6d e6da3545
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ optp.add_option('-c', '--cve', dest='cve', default='CVE-2015-0001', help='CVE id
optp.add_option('-a', '--api', dest='api', help='HTTP API url (default: http://cve.circl.lu)')
(opts, args) = optp.parse_args()

cve = Query().cve(opts.cve, api=opts.api)
cve = Query(api=opts.api).cve(opts.cve)
if not cve:
    sys.exit(10)

+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
# Software is free software released under the "Modified BSD license"
#
# Copyright (c) 2014-2015   Alexandre Dulaunoy - a@foo.be
# Copyright (c) 2014-2015 	Pieter-Jan Moreels - pieterjan.moreels@gmail.com
# Copyright (c) 2014-2017 	Pieter-Jan Moreels - pieterjan.moreels@gmail.com

import os
import json