From: Sergio de Almeida Cipriano Junior Date: Sat, 10 Apr 2021 15:49:09 -0300 Subject: Make examples use python3 interpreter always Forwarded: not-needed Fix lintian 'example-unusual-interpreter' by changing python shebang to python3. --- examples/async.py | 2 +- examples/blockingdns.py | 2 +- examples/downloader.py | 2 +- examples/fromtwisted.py | 2 +- examples/mxquery.py | 2 +- examples/scheduling.py | 2 +- examples/ssh.py | 2 +- examples/testing.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/async.py b/examples/async.py index 89f4aef..c28b4a0 100644 --- a/examples/async.py +++ b/examples/async.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ Async/await DNS lookup using Twisted's APIs. """ diff --git a/examples/blockingdns.py b/examples/blockingdns.py index 5239215..24a9f4b 100644 --- a/examples/blockingdns.py +++ b/examples/blockingdns.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ Do a DNS lookup using Twisted's APIs. """ diff --git a/examples/downloader.py b/examples/downloader.py index 923b1bf..e829ed5 100644 --- a/examples/downloader.py +++ b/examples/downloader.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ A flask web application that downloads a page in the background. """ diff --git a/examples/fromtwisted.py b/examples/fromtwisted.py index 87efcb9..641720c 100644 --- a/examples/fromtwisted.py +++ b/examples/fromtwisted.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ An example of using Crochet from a normal Twisted application. """ diff --git a/examples/mxquery.py b/examples/mxquery.py index a438680..72f187c 100644 --- a/examples/mxquery.py +++ b/examples/mxquery.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ A command-line application that uses Twisted to do an MX DNS query. """ diff --git a/examples/scheduling.py b/examples/scheduling.py index 6606e29..35f2884 100644 --- a/examples/scheduling.py +++ b/examples/scheduling.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ An example of scheduling time-based events in the background. diff --git a/examples/ssh.py b/examples/ssh.py index d71b582..a37427d 100644 --- a/examples/ssh.py +++ b/examples/ssh.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ A demonstration of Conch, allowing you to SSH into a running Python server and inspect objects at a Python prompt. diff --git a/examples/testing.py b/examples/testing.py index 7db5696..b1dee0d 100644 --- a/examples/testing.py +++ b/examples/testing.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ Demonstration of accessing wrapped functions for testing. """