From eaae2d0ee76cff005d7f1de89d9c021cbdb2e226 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sun, 26 Jun 2022 10:45:57 -0700 Subject: [PATCH] Minor Python3 script fixups. Make some scripts executable and use the shebang line recommended at https://docs.python.org/3/using/unix.html#miscellaneous --- doc/extcap_example.py | 2 +- epan/wslua/make-reg.py | 2 +- tools/generate_authors.py | 2 +- tools/json2pcap/json2pcap.py | 0 4 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 epan/wslua/make-reg.py mode change 100644 => 100755 tools/generate_authors.py mode change 100644 => 100755 tools/json2pcap/json2pcap.py diff --git a/doc/extcap_example.py b/doc/extcap_example.py index 669b41ef50..d5a1c93a42 100755 --- a/doc/extcap_example.py +++ b/doc/extcap_example.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2014 Roland Knall # diff --git a/epan/wslua/make-reg.py b/epan/wslua/make-reg.py old mode 100644 new mode 100755 index dcc5ab9d98..b8ae77b3b5 --- a/epan/wslua/make-reg.py +++ b/epan/wslua/make-reg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # make-reg.py # Registration Macros Generator diff --git a/tools/generate_authors.py b/tools/generate_authors.py old mode 100644 new mode 100755 index f5cf62ab5e..44bf552927 --- a/tools/generate_authors.py +++ b/tools/generate_authors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Generate the AUTHORS file combining existing AUTHORS file with diff --git a/tools/json2pcap/json2pcap.py b/tools/json2pcap/json2pcap.py old mode 100644 new mode 100755