Update script shebangs to use python3
authorMagnus Hagander <magnus@hagander.net>
Sat, 19 Jan 2019 19:17:36 +0000 (20:17 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 26 Jan 2019 15:19:26 +0000 (16:19 +0100)
18 files changed:
manage.py
pgweb/core/management/commands/cleanup_old_records.py
pgweb/core/management/commands/fetch_rss_feeds.py
pgweb/core/management/commands/moderation_report.py
pgweb/news/management/commands/twitter_post.py
pgweb/news/management/commands/twitter_register.py
tools/communityauth/generate_cryptkey.py
tools/communityauth/test_auth.py
tools/docs/docload.py
tools/ftp/spider_ftp.py
tools/ftp/spider_yum.py
tools/localhtmlvalidate/localhtmlvalidate.py
tools/purgehook/purgehook.py
tools/search/crawler/listcrawler.py
tools/search/crawler/listsync.py
tools/search/crawler/webcrawler.py
tools/varnishqueue/nagios_check.py
tools/varnishqueue/varnish_queue.py

index 985c7e8fbf532f046693f3f636eafa452cd960d1..519f841409c0c627b24ba1e78f233fa79875ac41 100755 (executable)
--- a/manage.py
+++ b/manage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import os
 import sys
 
index a2fb38c49298c06dacdd2a7fdd0ed593423e15ed..08a974bfdfbe64592337537e6c86e717b579158c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Script to generally cleanup old records in the database.
 #
index afe5a65bd2a9331ea8135b692fc51b2924beb0cb..0ce0b1473138de1fb4903d39fcff415dd1a4df9b 100644 (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.
 #
index 42c4647b3d0a81bc0a2331f4379a067309b5025e..d2115ea926e8f793ea6e83e9e63fc2248a63ebeb 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Script to send daily moderation report to the NOTIFICATION_EMAIL address
 # (the moderators list)
index 3efbdf40e0a5152e0aadab971873cd1a4221c08e..655966ae945ec98698e81c03edf89ef765966169 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Script to post previosly unposted news to twitter
 #
index b6c34c9597fbf4d1689ad7107131546e02ec05cd..319898f80f7f37ceb37936e1c3417292a387f370 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Script to register twitter oauth privileges
 #
index 9585f6c8e00c73cacabfa8c97f44a453334eedd6..0e62f4c3aa972397e98b63722a63647f43243354 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # This script generates a crypto key that can be used for
index 26b36ecfab8dbe4cebf3ce8ad665f74c39db5cc7..9d9449998712949ab919084fbc10edc2c8d8b15d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # This script generates a URL valid for a test authentication,
index 53204fb6f660bf3d0b08d6a85686b766ac8627de..f71e896cadab0934c27f5a774194fe6a5b5e1984 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Script to load documentation from tarballs
 
index f4100df899fb01084cdbd48b7dfdf95da19e18fb..8ea3557442e85adda52958cb873095140520a2d3 100755 (executable)
@@ -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
index 05b836911e754f74fa914c932e54b45ed73043fa..6528fba0c0a09ea080556495dcdf546096f19972 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import argparse
 import sys
 import os
index 084775719755618f7f788af749c6c34359710026..348693720db32da5497460e44edffdc042feaeba 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # localhtmlvalidate.py - validate local HTML for pgweb
 #
index a4a6131a56720a5564d68afe795b9a2b149e6a3d..2ccfdf887d19778454f5a44acf26698edfa37cf1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # This hook script is run by gitdeployer when the code is
 # deployed to a server. figure out which templates have been
index 5faac72e9c02da1ff9762ecf3f16ecf3fe313922..1a416079c82e3bf5472e7a8290d086c7c4877379 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from lib.log import log
index 815d24ae8773a6a3a20543edec29104027b44464..10da49e4f3702932f4b53df47e218af95528d46f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from lib.log import log
index f3f139a70933488a444cf45a61c684f9509b0207..ee65b54c1ed7e3d49eb1fa3bb73223c28e807145 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from lib.log import log
index b85452c2bcb3704d26be42c30c0c8dcd077265bc..75405324530e156b87e1687a01818adacb9da505 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import psycopg2
index 60eddce91c8dd004a7d92f43e568a2d1b14ebe37..64f55f0f1b7ee48eba118231b608982cacc5306a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # varnish_queue.py - handle varnish purging queues
 #