From 815e647c97c0b9a25d177bb698b4f737340987b5 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 16 Aug 2014 22:37:29 +0200 Subject: Set the shebang to python3 everywhere. --- examples/IoT_TestDevice.py | 2 +- examples/adhoc_provider.py | 2 +- examples/adhoc_user.py | 2 +- examples/admin_commands.py | 2 +- examples/custom_stanzas/custom_stanza_provider.py | 2 +- examples/custom_stanzas/custom_stanza_user.py | 2 +- examples/disco_browser.py | 2 +- examples/download_avatars.py | 2 +- examples/echo_client.py | 2 +- examples/echo_component.py | 2 +- examples/gtalk_custom_domain.py | 2 +- examples/ibb_transfer/ibb_receiver.py | 2 +- examples/ibb_transfer/ibb_sender.py | 2 +- examples/migrate_roster.py | 2 +- examples/muc.py | 2 +- examples/ping.py | 2 +- examples/proxy_echo_client.py | 2 +- examples/pubsub_client.py | 2 +- examples/pubsub_events.py | 2 +- examples/register_account.py | 2 +- examples/roster_browser.py | 2 +- examples/rpc_async.py | 2 +- examples/rpc_client_side.py | 2 +- examples/rpc_server_side.py | 2 +- examples/send_client.py | 2 +- examples/set_avatar.py | 2 +- examples/thirdparty_auth.py | 2 +- examples/user_location.py | 2 +- examples/user_tune.py | 2 +- setup.py | 2 +- testall.py | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/examples/IoT_TestDevice.py b/examples/IoT_TestDevice.py index 1d99c61e..aff2d945 100755 --- a/examples/IoT_TestDevice.py +++ b/examples/IoT_TestDevice.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py index c709fead..689ea2a6 100755 --- a/examples/adhoc_provider.py +++ b/examples/adhoc_provider.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/adhoc_user.py b/examples/adhoc_user.py index d4b650bc..be587e41 100755 --- a/examples/adhoc_user.py +++ b/examples/adhoc_user.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/admin_commands.py b/examples/admin_commands.py index ed81b885..5ee7079e 100755 --- a/examples/admin_commands.py +++ b/examples/admin_commands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py index 163f307d..0356b973 100755 --- a/examples/custom_stanzas/custom_stanza_provider.py +++ b/examples/custom_stanzas/custom_stanza_provider.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/custom_stanzas/custom_stanza_user.py b/examples/custom_stanzas/custom_stanza_user.py index ceadb036..a7388cff 100755 --- a/examples/custom_stanzas/custom_stanza_user.py +++ b/examples/custom_stanzas/custom_stanza_user.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 9df22bbc..ec2e6ede 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/download_avatars.py b/examples/download_avatars.py index bd505432..9dd0283f 100755 --- a/examples/download_avatars.py +++ b/examples/download_avatars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/echo_client.py b/examples/echo_client.py index 2c992155..cf79867b 100755 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/echo_component.py b/examples/echo_component.py index a20f8c15..79de3e99 100755 --- a/examples/echo_component.py +++ b/examples/echo_component.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/gtalk_custom_domain.py b/examples/gtalk_custom_domain.py index b12a047f..e6bde69a 100755 --- a/examples/gtalk_custom_domain.py +++ b/examples/gtalk_custom_domain.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/ibb_transfer/ibb_receiver.py b/examples/ibb_transfer/ibb_receiver.py index 625dd456..1f78ce05 100755 --- a/examples/ibb_transfer/ibb_receiver.py +++ b/examples/ibb_transfer/ibb_receiver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/ibb_transfer/ibb_sender.py b/examples/ibb_transfer/ibb_sender.py index e89e3239..5366c6ff 100755 --- a/examples/ibb_transfer/ibb_sender.py +++ b/examples/ibb_transfer/ibb_sender.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py index 7aed1d30..8e923362 100755 --- a/examples/migrate_roster.py +++ b/examples/migrate_roster.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys diff --git a/examples/muc.py b/examples/muc.py index 083c4c2f..e67196dd 100755 --- a/examples/muc.py +++ b/examples/muc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/ping.py b/examples/ping.py index b079c41a..5bcd0086 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/proxy_echo_client.py b/examples/proxy_echo_client.py index 966dd0ab..161d6d70 100755 --- a/examples/proxy_echo_client.py +++ b/examples/proxy_echo_client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index 56135ec1..afbb437f 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys diff --git a/examples/pubsub_events.py b/examples/pubsub_events.py index 679112af..6464db97 100755 --- a/examples/pubsub_events.py +++ b/examples/pubsub_events.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys diff --git a/examples/register_account.py b/examples/register_account.py index bbe1dc53..7b8a2514 100755 --- a/examples/register_account.py +++ b/examples/register_account.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/roster_browser.py b/examples/roster_browser.py index 1f08796c..ca53769b 100755 --- a/examples/roster_browser.py +++ b/examples/roster_browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/rpc_async.py b/examples/rpc_async.py index edbad554..6798d63c 100755 --- a/examples/rpc_async.py +++ b/examples/rpc_async.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/rpc_client_side.py b/examples/rpc_client_side.py index 57c0dd58..0a4ba015 100755 --- a/examples/rpc_client_side.py +++ b/examples/rpc_client_side.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/rpc_server_side.py b/examples/rpc_server_side.py index 438828b9..b973e53b 100755 --- a/examples/rpc_server_side.py +++ b/examples/rpc_server_side.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/send_client.py b/examples/send_client.py index d40ac1cb..579807b1 100755 --- a/examples/send_client.py +++ b/examples/send_client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/set_avatar.py b/examples/set_avatar.py index 647bbd8c..db189413 100755 --- a/examples/set_avatar.py +++ b/examples/set_avatar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/thirdparty_auth.py b/examples/thirdparty_auth.py index 94d4a02a..6772e298 100755 --- a/examples/thirdparty_auth.py +++ b/examples/thirdparty_auth.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ diff --git a/examples/user_location.py b/examples/user_location.py index 1ef78666..823beb0a 100755 --- a/examples/user_location.py +++ b/examples/user_location.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import logging diff --git a/examples/user_tune.py b/examples/user_tune.py index afaa0c2d..528a8d45 100755 --- a/examples/user_tune.py +++ b/examples/user_tune.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import logging diff --git a/setup.py b/setup.py index 32e3f86c..afafc2cc 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (C) 2007-2011 Nathanael C. Fritz diff --git a/testall.py b/testall.py index 2cb6f538..32d293ed 100755 --- a/testall.py +++ b/testall.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys if len(sys.argv)>1 and sys.argv[1].lower() == 'gevent': -- cgit v1.2.3