From a21cb61b3f1c9c73a0c738f43ba09170e09c32d0 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Thu, 7 Apr 2016 18:33:22 +0530 Subject: [PATCH] Change shebangs from python2.7 to python. --- bin/zulip-send | 2 +- bots/check-mirroring | 2 +- bots/gcal-bot | 2 +- bots/irc-mirror.py | 2 +- bots/jabber_mirror.py | 2 +- bots/jabber_mirror_backend.py | 2 +- bots/log2zulip | 2 +- bots/process_ccache | 2 +- bots/sync-public-streams | 2 +- bots/tddium-notify-humbug | 2 +- bots/zephyr_mirror.py | 2 +- bots/zephyr_mirror_backend.py | 2 +- examples/create-user | 2 +- examples/edit-message | 2 +- examples/get-public-streams | 2 +- examples/list-members | 2 +- examples/list-subscriptions | 2 +- examples/print-events | 2 +- examples/print-messages | 2 +- examples/print-next-message | 2 +- examples/recent-messages | 2 +- examples/send-message | 2 +- examples/subscribe | 2 +- examples/unsubscribe | 2 +- integrations/asana/zulip_asana_config.py | 2 +- integrations/asana/zulip_asana_mirror | 2 +- integrations/basecamp/zulip_basecamp_config.py | 2 +- integrations/basecamp/zulip_basecamp_mirror | 2 +- integrations/codebase/zulip_codebase_config.py | 2 +- integrations/codebase/zulip_codebase_mirror | 2 +- integrations/git/post-receive | 2 +- integrations/git/zulip_git_config.py | 2 +- integrations/hg/zulip-changegroup.py | 2 +- integrations/nagios/nagios-notify-zulip | 2 +- integrations/perforce/git_p4.py | 2 +- integrations/perforce/zulip_change-commit.py | 2 +- integrations/perforce/zulip_perforce_config.py | 2 +- integrations/rss/rss-bot | 2 +- integrations/svn/post-commit | 2 +- integrations/svn/zulip_svn_config.py | 2 +- integrations/twitter/twitter-bot | 2 +- integrations/twitter/twitter-search-bot | 2 +- setup.py | 2 +- 43 files changed, 43 insertions(+), 43 deletions(-) diff --git a/bin/zulip-send b/bin/zulip-send index b314863..3cd31ad 100755 --- a/bin/zulip-send +++ b/bin/zulip-send @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # zulip-send -- Sends a message to the specified recipients. diff --git a/bots/check-mirroring b/bots/check-mirroring index 2724361..78a2b66 100755 --- a/bots/check-mirroring +++ b/bots/check-mirroring @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function from __future__ import absolute_import import sys diff --git a/bots/gcal-bot b/bots/gcal-bot index a4548b8..87a97f1 100755 --- a/bots/gcal-bot +++ b/bots/gcal-bot @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function import sys import time diff --git a/bots/irc-mirror.py b/bots/irc-mirror.py index beb5db5..3e5aa24 100644 --- a/bots/irc-mirror.py +++ b/bots/irc-mirror.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2.7 +#!/usr/bin/env python # # EXPERIMENTAL # IRC <=> Zulip mirroring bot diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index f9f036d..2b7ef35 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # Copyright (C) 2014 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person diff --git a/bots/jabber_mirror_backend.py b/bots/jabber_mirror_backend.py index 9d4645b..2a1bc05 100755 --- a/bots/jabber_mirror_backend.py +++ b/bots/jabber_mirror_backend.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # # Copyright (C) 2013 Permabit, Inc. # Copyright (C) 2013--2014 Zulip, Inc. diff --git a/bots/log2zulip b/bots/log2zulip index 09449b6..52386de 100755 --- a/bots/log2zulip +++ b/bots/log2zulip @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function import subprocess import os diff --git a/bots/process_ccache b/bots/process_ccache index 28a0bd4..bc0b718 100755 --- a/bots/process_ccache +++ b/bots/process_ccache @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python import sys import subprocess import base64 diff --git a/bots/sync-public-streams b/bots/sync-public-streams index 46a3fd7..b225bd1 100755 --- a/bots/sync-public-streams +++ b/bots/sync-public-streams @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python import sys import os import logging diff --git a/bots/tddium-notify-humbug b/bots/tddium-notify-humbug index 2a97225..6ab221c 100755 --- a/bots/tddium-notify-humbug +++ b/bots/tddium-notify-humbug @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 204f6df..6f4d1ef 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 44a253f..5ab17ae 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person diff --git a/examples/create-user b/examples/create-user index 2b8b6c9..55502c4 100755 --- a/examples/create-user +++ b/examples/create-user @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012-2014 Zulip, Inc. diff --git a/examples/edit-message b/examples/edit-message index d5eef21..1939436 100755 --- a/examples/edit-message +++ b/examples/edit-message @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/get-public-streams b/examples/get-public-streams index 8ba5405..7ec65cd 100755 --- a/examples/get-public-streams +++ b/examples/get-public-streams @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/list-members b/examples/list-members index 137e66a..acf2d23 100755 --- a/examples/list-members +++ b/examples/list-members @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2014 Zulip, Inc. diff --git a/examples/list-subscriptions b/examples/list-subscriptions index 10678be..84dd17d 100755 --- a/examples/list-subscriptions +++ b/examples/list-subscriptions @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/print-events b/examples/print-events index aab7535..78cb488 100755 --- a/examples/print-events +++ b/examples/print-events @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/print-messages b/examples/print-messages index f33d420..134b030 100755 --- a/examples/print-messages +++ b/examples/print-messages @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/print-next-message b/examples/print-next-message index c8358d6..c610896 100755 --- a/examples/print-next-message +++ b/examples/print-next-message @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/recent-messages b/examples/recent-messages index 869f6a1..c1e15c9 100755 --- a/examples/recent-messages +++ b/examples/recent-messages @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/send-message b/examples/send-message index 518fe55..8c5ffa9 100755 --- a/examples/send-message +++ b/examples/send-message @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/subscribe b/examples/subscribe index a40a822..9c2d92e 100755 --- a/examples/subscribe +++ b/examples/subscribe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/examples/unsubscribe b/examples/unsubscribe index 693caae..1c3b12c 100755 --- a/examples/unsubscribe +++ b/examples/unsubscribe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2012 Zulip, Inc. diff --git a/integrations/asana/zulip_asana_config.py b/integrations/asana/zulip_asana_config.py index c14db0b..6020f6d 100644 --- a/integrations/asana/zulip_asana_config.py +++ b/integrations/asana/zulip_asana_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/asana/zulip_asana_mirror b/integrations/asana/zulip_asana_mirror index f65dc21..96817ec 100755 --- a/integrations/asana/zulip_asana_mirror +++ b/integrations/asana/zulip_asana_mirror @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Asana integration for Zulip diff --git a/integrations/basecamp/zulip_basecamp_config.py b/integrations/basecamp/zulip_basecamp_config.py index 024ace0..c343a69 100644 --- a/integrations/basecamp/zulip_basecamp_config.py +++ b/integrations/basecamp/zulip_basecamp_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/basecamp/zulip_basecamp_mirror b/integrations/basecamp/zulip_basecamp_mirror index ef38869..92b0ed4 100755 --- a/integrations/basecamp/zulip_basecamp_mirror +++ b/integrations/basecamp/zulip_basecamp_mirror @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Zulip mirror of Basecamp activity diff --git a/integrations/codebase/zulip_codebase_config.py b/integrations/codebase/zulip_codebase_config.py index fb37981..d13d80d 100644 --- a/integrations/codebase/zulip_codebase_config.py +++ b/integrations/codebase/zulip_codebase_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/codebase/zulip_codebase_mirror b/integrations/codebase/zulip_codebase_mirror index 85159c0..cf32137 100755 --- a/integrations/codebase/zulip_codebase_mirror +++ b/integrations/codebase/zulip_codebase_mirror @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Zulip mirror of Codebase HQ activity diff --git a/integrations/git/post-receive b/integrations/git/post-receive index 6956f75..282a53c 100755 --- a/integrations/git/post-receive +++ b/integrations/git/post-receive @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Zulip notification post-receive hook. diff --git a/integrations/git/zulip_git_config.py b/integrations/git/zulip_git_config.py index b0be000..9b3157a 100644 --- a/integrations/git/zulip_git_config.py +++ b/integrations/git/zulip_git_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/hg/zulip-changegroup.py b/integrations/hg/zulip-changegroup.py index 4ab3509..79b5c7c 100755 --- a/integrations/hg/zulip-changegroup.py +++ b/integrations/hg/zulip-changegroup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Zulip hook for Mercurial changeset pushes. diff --git a/integrations/nagios/nagios-notify-zulip b/integrations/nagios/nagios-notify-zulip index 8f2dd28..6145952 100755 --- a/integrations/nagios/nagios-notify-zulip +++ b/integrations/nagios/nagios-notify-zulip @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python import optparse import zulip diff --git a/integrations/perforce/git_p4.py b/integrations/perforce/git_p4.py index c40c9c2..b76451c 100644 --- a/integrations/perforce/git_p4.py +++ b/integrations/perforce/git_p4.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # # git-p4.py -- A tool for bidirectional operation between a Perforce depot and git. # diff --git a/integrations/perforce/zulip_change-commit.py b/integrations/perforce/zulip_change-commit.py index 67a8b47..146f0b5 100755 --- a/integrations/perforce/zulip_change-commit.py +++ b/integrations/perforce/zulip_change-commit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2012-2014 Zulip, Inc. diff --git a/integrations/perforce/zulip_perforce_config.py b/integrations/perforce/zulip_perforce_config.py index de36c30..2928a0c 100644 --- a/integrations/perforce/zulip_perforce_config.py +++ b/integrations/perforce/zulip_perforce_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/rss/rss-bot b/integrations/rss/rss-bot index b238315..42910fc 100755 --- a/integrations/rss/rss-bot +++ b/integrations/rss/rss-bot @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # RSS integration for Zulip diff --git a/integrations/svn/post-commit b/integrations/svn/post-commit index 7f67e13..dabfb12 100755 --- a/integrations/svn/post-commit +++ b/integrations/svn/post-commit @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Zulip notification post-commit hook. diff --git a/integrations/svn/zulip_svn_config.py b/integrations/svn/zulip_svn_config.py index a69fc04..70a84c9 100644 --- a/integrations/svn/zulip_svn_config.py +++ b/integrations/svn/zulip_svn_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2014 Zulip, Inc. diff --git a/integrations/twitter/twitter-bot b/integrations/twitter/twitter-bot index c71fc4e..aaecbeb 100755 --- a/integrations/twitter/twitter-bot +++ b/integrations/twitter/twitter-bot @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Twitter integration for Zulip diff --git a/integrations/twitter/twitter-search-bot b/integrations/twitter/twitter-search-bot index f097170..fa3a083 100755 --- a/integrations/twitter/twitter-search-bot +++ b/integrations/twitter/twitter-search-bot @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Twitter search integration for Zulip diff --git a/setup.py b/setup.py index d26eaab..2bf1da5 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function