diff --git a/dev/bin/convert-hexdump-raw b/dev/bin/convert-hexdump-raw index d62d2430b..a20a0c42f 100755 --- a/dev/bin/convert-hexdump-raw +++ b/dev/bin/convert-hexdump-raw @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys from struct import pack diff --git a/dev/bin/format-raw-bmp-hexdump b/dev/bin/format-raw-bmp-hexdump index f544d7ae3..6f6853c07 100755 --- a/dev/bin/format-raw-bmp-hexdump +++ b/dev/bin/format-raw-bmp-hexdump @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/dev/bin/ibgp b/dev/bin/ibgp index 19c402913..6aa365a23 100755 --- a/dev/bin/ibgp +++ b/dev/bin/ibgp @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/dev/bin/ibgp-open-only b/dev/bin/ibgp-open-only index b293b8ec0..0cd00a1fe 100755 --- a/dev/bin/ibgp-open-only +++ b/dev/bin/ibgp-open-only @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import asyncore diff --git a/dev/bin/recorder-connect b/dev/bin/recorder-connect index 79d4eb073..cbad23b96 100755 --- a/dev/bin/recorder-connect +++ b/dev/bin/recorder-connect @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/dev/bin/recorder-listener b/dev/bin/recorder-listener index 3da929b77..a7cb9c33d 100755 --- a/dev/bin/recorder-listener +++ b/dev/bin/recorder-listener @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/dev/bin/replay-connect b/dev/bin/replay-connect index 334f7943a..abadb33a3 100755 --- a/dev/bin/replay-connect +++ b/dev/bin/replay-connect @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import socket diff --git a/dev/profile/analyse b/dev/profile/analyse index f5d3582d2..bf95817f8 100755 --- a/dev/profile/analyse +++ b/dev/profile/analyse @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import pstats diff --git a/dev/profile/pyprof2calltree.py b/dev/profile/pyprof2calltree.py index ff8463c60..6bfc35223 100755 --- a/dev/profile/pyprof2calltree.py +++ b/dev/profile/pyprof2calltree.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2006-2008, David Allouche, Jp Calderone, Itamar Shtull-Trauring, # Johan Dahlin, Olivier Grisel diff --git a/etc/exabgp/example-api-program.run b/etc/exabgp/example-api-program.run index 4a04f04a4..ce94ce23a 100755 --- a/etc/exabgp/example-api-program.run +++ b/etc/exabgp/example-api-program.run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/qa/bin/conversation.serial b/qa/bin/conversation.serial index d48feedf5..97013ee82 100755 --- a/qa/bin/conversation.serial +++ b/qa/bin/conversation.serial @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ cache.py diff --git a/qa/self/api/receive.py b/qa/self/api/receive.py index e4b4262d0..d816dd857 100755 --- a/qa/self/api/receive.py +++ b/qa/self/api/receive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/attribute/api-internet.py b/qa/self/attribute/api-internet.py index f7827d16f..a58c75974 100755 --- a/qa/self/attribute/api-internet.py +++ b/qa/self/attribute/api-internet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import time diff --git a/qa/self/big/api-internet.py b/qa/self/big/api-internet.py index d9f2bf7c9..87867cc77 100755 --- a/qa/self/big/api-internet.py +++ b/qa/self/big/api-internet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import time diff --git a/qa/self/big/dump-all.py b/qa/self/big/dump-all.py index 55c759fec..a87163e16 100755 --- a/qa/self/big/dump-all.py +++ b/qa/self/big/dump-all.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/big/dump-number.py b/qa/self/big/dump-number.py index 1a9de2164..6da2aeb61 100755 --- a/qa/self/big/dump-number.py +++ b/qa/self/big/dump-number.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/big/dump-to-screen.py b/qa/self/big/dump-to-screen.py index 1a9de2164..6da2aeb61 100755 --- a/qa/self/big/dump-to-screen.py +++ b/qa/self/big/dump-to-screen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/flow/flow-change.py b/qa/self/flow/flow-change.py index 846ed2e26..58b1b12a2 100755 --- a/qa/self/flow/flow-change.py +++ b/qa/self/flow/flow-change.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os diff --git a/qa/self/flow/log-syslog.py b/qa/self/flow/log-syslog.py index 3e26b8ef2..de7535d10 100755 --- a/qa/self/flow/log-syslog.py +++ b/qa/self/flow/log-syslog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/qa/self/json/receive.py b/qa/self/json/receive.py index aabc4e652..7859ea424 100755 --- a/qa/self/json/receive.py +++ b/qa/self/json/receive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import json diff --git a/qa/self/load/api-internet.py b/qa/self/load/api-internet.py index d756fd79d..5ad65a989 100755 --- a/qa/self/load/api-internet.py +++ b/qa/self/load/api-internet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import sys diff --git a/qa/self/load/dump-all.py b/qa/self/load/dump-all.py index 55c759fec..a87163e16 100755 --- a/qa/self/load/dump-all.py +++ b/qa/self/load/dump-all.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/load/dump-number.py b/qa/self/load/dump-number.py index 1a9de2164..6da2aeb61 100755 --- a/qa/self/load/dump-number.py +++ b/qa/self/load/dump-number.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/load/dump-to-screen.py b/qa/self/load/dump-to-screen.py index 1a9de2164..6da2aeb61 100755 --- a/qa/self/load/dump-to-screen.py +++ b/qa/self/load/dump-to-screen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/qa/self/operational/operational-print.py b/qa/self/operational/operational-print.py index 41a187bf4..67c292e96 100755 --- a/qa/self/operational/operational-print.py +++ b/qa/self/operational/operational-print.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/qa/self/operational/operational-send.py b/qa/self/operational/operational-send.py index eab66205f..c0ec5f418 100755 --- a/qa/self/operational/operational-send.py +++ b/qa/self/operational/operational-send.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os diff --git a/qa/self/refresh/re-ask.py b/qa/self/refresh/re-ask.py index 55594adba..0ca8cb387 100755 --- a/qa/self/refresh/re-ask.py +++ b/qa/self/refresh/re-ask.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import sys diff --git a/qa/self/simple/log-syslog.py b/qa/self/simple/log-syslog.py index e15212f42..41646e431 100755 --- a/qa/self/simple/log-syslog.py +++ b/qa/self/simple/log-syslog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/qa/self/update/update-receive.py b/qa/self/update/update-receive.py index 41a187bf4..67c292e96 100755 --- a/qa/self/update/update-receive.py +++ b/qa/self/update/update-receive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/qa/self/update/update-send.py b/qa/self/update/update-send.py index d7e14a952..0d102027b 100755 --- a/qa/self/update/update-send.py +++ b/qa/self/update/update-send.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os diff --git a/src/exabgp/application/cli.py b/src/exabgp/application/cli.py index 4028ad73c..d704d8b5f 100644 --- a/src/exabgp/application/cli.py +++ b/src/exabgp/application/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """exabgp command line interface""" diff --git a/src/exabgp/application/tojson.py b/src/exabgp/application/tojson.py index 49fed0732..0731fed83 100644 --- a/src/exabgp/application/tojson.py +++ b/src/exabgp/application/tojson.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ tojson.py diff --git a/src/exabgp/reactor/api/response/json.py b/src/exabgp/reactor/api/response/json.py index 0642b0057..a11d98737 100755 --- a/src/exabgp/reactor/api/response/json.py +++ b/src/exabgp/reactor/api/response/json.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ Response/json.py diff --git a/src/exabgp/reactor/api/response/text.py b/src/exabgp/reactor/api/response/text.py index ca4a09747..04f998795 100755 --- a/src/exabgp/reactor/api/response/text.py +++ b/src/exabgp/reactor/api/response/text.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ response/text.py diff --git a/tests/cache_test.py b/tests/cache_test.py index 1aa076dda..97fde2902 100755 --- a/tests/cache_test.py +++ b/tests/cache_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ cache.py diff --git a/tests/connection.py b/tests/connection.py index 08ec598bf..d25ac8bbd 100755 --- a/tests/connection.py +++ b/tests/connection.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ connection.py diff --git a/tests/control_test.py b/tests/control_test.py index be01800c5..7642a784d 100755 --- a/tests/control_test.py +++ b/tests/control_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ control.py diff --git a/tests/datatype.py b/tests/datatype.py index 1bc3ae359..79dab74bf 100755 --- a/tests/datatype.py +++ b/tests/datatype.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ data.py diff --git a/tests/decode_test.py b/tests/decode_test.py index 923614af3..9e495dd6b 100755 --- a/tests/decode_test.py +++ b/tests/decode_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ decode.py diff --git a/tests/flow_test.py b/tests/flow_test.py index dcd99b2df..44f1ace71 100755 --- a/tests/flow_test.py +++ b/tests/flow_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ flow.py diff --git a/tests/l2vpn_test.py b/tests/l2vpn_test.py index 4bc9065bd..eed9f6c5a 100755 --- a/tests/l2vpn_test.py +++ b/tests/l2vpn_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ l2vpn.py diff --git a/tests/nlri_tests.py b/tests/nlri_tests.py index 704b56f57..f9222dce0 100755 --- a/tests/nlri_tests.py +++ b/tests/nlri_tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ open.py diff --git a/tests/open_test.py b/tests/open_test.py index 4ff0e6dfb..2432897f2 100755 --- a/tests/open_test.py +++ b/tests/open_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ open.py diff --git a/tests/parsing_test.py b/tests/parsing_test.py index 7d14a438c..3c9629be2 100755 --- a/tests/parsing_test.py +++ b/tests/parsing_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ parsing.py diff --git a/tests/protocol.py b/tests/protocol.py index 815675905..75adbdf38 100755 --- a/tests/protocol.py +++ b/tests/protocol.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 """ protocol.py