From 9f52c169d0ed21a12f3afb36e0b72564f35a2ec7 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 16 Sep 2021 00:28:38 +0200 Subject: [PATCH] more python3 shebangs --- copyparty/__main__.py | 2 +- scripts/speedtest-fs.py | 2 +- scripts/uncomment.py | 4 ++-- tests/test_httpcli.py | 2 +- tests/test_vfs.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/copyparty/__main__.py b/copyparty/__main__.py index ee472ca9..a61a6640 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding: utf-8 from __future__ import print_function, unicode_literals diff --git a/scripts/speedtest-fs.py b/scripts/speedtest-fs.py index 12bfe5a0..56eb234f 100644 --- a/scripts/speedtest-fs.py +++ b/scripts/speedtest-fs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/scripts/uncomment.py b/scripts/uncomment.py index c7e4922b..5a9697bb 100644 --- a/scripts/uncomment.py +++ b/scripts/uncomment.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding: utf-8 from __future__ import print_function, unicode_literals @@ -8,7 +8,7 @@ import tokenize def uncomment(fpath): - """ modified https://stackoverflow.com/a/62074206 """ + """modified https://stackoverflow.com/a/62074206""" with open(fpath, "rb") as f: orig = f.read().decode("utf-8") diff --git a/tests/test_httpcli.py b/tests/test_httpcli.py index 6dff1a26..408d3a33 100644 --- a/tests/test_httpcli.py +++ b/tests/test_httpcli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding: utf-8 from __future__ import print_function, unicode_literals diff --git a/tests/test_vfs.py b/tests/test_vfs.py index a3ed1099..a6246ac9 100644 --- a/tests/test_vfs.py +++ b/tests/test_vfs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding: utf-8 from __future__ import print_function, unicode_literals