mirror of https://github.com/MISP/PyMISPGalaxies
chg: python3
parent
004efe818f
commit
885a28ee79
|
@ -1,4 +1,4 @@
|
|||
language: python
|
||||
language: python3
|
||||
|
||||
cache: pip
|
||||
|
||||
|
|
|
@ -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