Fix shebangs and executable permissions

Files containing a shebang should be executable (examples/*.py)
Non-executable files should not contain a shebang (pymisp/...)

spotted with rpmlint
pull/98/head
Sebastian Wagner 2017-07-24 13:26:22 +02:00
parent 14fcc5f586
commit 5a85788c5d
No known key found for this signature in database
GPG Key ID: 4BB5A67FBECFA8A5
16 changed files with 4 additions and 6 deletions

0
examples/__init__.py Normal file → Executable file
View File

0
examples/add_named_attribute.py Normal file → Executable file
View File

0
examples/addtag.py Normal file → Executable file
View File

0
examples/addtag2.py Normal file → Executable file
View File

0
examples/cache_all.py Normal file → Executable file
View File

0
examples/fetch_events_feed.py Normal file → Executable file
View File

0
examples/search.py Normal file → Executable file
View File

0
examples/sharing_groups.py Normal file → Executable file
View File

0
examples/tagstatistics.py Normal file → Executable file
View File

0
examples/users_list.py Normal file → Executable file
View File

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Python API using the REST interface of MISP"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class PyMISPError(Exception):

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import datetime

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import glob

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try: