mirror of https://github.com/MISP/PyMISPGalaxies
Merge branch 'master' of github.com:MISP/PyMISPGalaxies
commit
1116f2d684
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from .api import Galaxies, Clusters, EncodeGalaxies, EncodeClusters, UnableToRevertMachinetag
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import json
|
||||
|
|
2
setup.py
2
setup.py
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from setuptools import setup
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class TestPyMISPGalaxies(unittest.TestCase):
|
|||
count = Counter(all_searchable)
|
||||
for k, v in count.items():
|
||||
if v != 1:
|
||||
warnings.warn(f'Duplicate on {cluster.type}: {k}')
|
||||
warnings.warn('Duplicate on {}: {}'.format(cluster.type, k))
|
||||
|
||||
def test_duplicates(self):
|
||||
has_duplicates = False
|
||||
|
|
Loading…
Reference in New Issue