Update script shebangs to use python3

This commit is contained in:
Magnus Hagander
2019-01-19 20:17:36 +01:00
parent b7f0398c15
commit 07d83eae42
18 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Script to generally cleanup old records in the database. # Script to generally cleanup old records in the database.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Script to fetch content from RSS feeds into the db for publishing. # Script to fetch content from RSS feeds into the db for publishing.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Script to send daily moderation report to the NOTIFICATION_EMAIL address # Script to send daily moderation report to the NOTIFICATION_EMAIL address
# (the moderators list) # (the moderators list)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Script to post previosly unposted news to twitter # Script to post previosly unposted news to twitter
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Script to register twitter oauth privileges # Script to register twitter oauth privileges
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# This script generates a crypto key that can be used for # This script generates a crypto key that can be used for

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# This script generates a URL valid for a test authentication, # This script generates a URL valid for a test authentication,

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Script to load documentation from tarballs # Script to load documentation from tarballs

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python3
# #
# spider_ftp.py - spider the ftp site and generate an output file with all # spider_ftp.py - spider the ftp site and generate an output file with all

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import argparse import argparse
import sys import sys
import os import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# localhtmlvalidate.py - validate local HTML for pgweb # localhtmlvalidate.py - validate local HTML for pgweb
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# This hook script is run by gitdeployer when the code is # This hook script is run by gitdeployer when the code is
# deployed to a server. figure out which templates have been # deployed to a server. figure out which templates have been

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from lib.log import log from lib.log import log

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from lib.log import log from lib.log import log

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from lib.log import log from lib.log import log

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import sys import sys
import psycopg2 import psycopg2

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# varnish_queue.py - handle varnish purging queues # varnish_queue.py - handle varnish purging queues
# #