Commit 831746ff authored by Alexandre Dulaunoy's avatar Alexandre Dulaunoy
Browse files

Merge pull request #101 from adulau/master

Minor fixes
parents 162b846a 3639f962
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -323,6 +323,7 @@ class Configuration():
            return req.urlopen(getfile)
        else:
            response = req.urlopen(getfile + '.gz')
            data = None
            if 'gzip' in response.info().get('Content-Type'):
                buf = BytesIO(response.read())
                data = gzip.GzipFile(fileobj=buf)
+0 −1
Original line number Diff line number Diff line
@@ -219,7 +219,6 @@ if __name__ == '__main__':
            # if so, update the entry.
            if x:
                if 'cvss' not in item:
                    #item['cvss'] = defaultvalue['cvss']
                    item['cvss'] = None
                if 'cwe' not in item:
                    item['cwe'] = defaultvalue['cwe']