Change shebangs from python2.7 to python.

This commit is contained in:
Eklavya Sharma 2016-04-07 18:33:22 +05:30 committed by Tim Abbott
parent 1bb6a0db4c
commit 149938d468
104 changed files with 104 additions and 104 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# zulip-send -- Sends a message to the specified recipients. # zulip-send -- Sends a message to the specified recipients.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012-2014 Zulip, Inc. # Copyright © 2012-2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2012 Zulip, Inc. # Copyright © 2012 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Asana integration for Zulip # Asana integration for Zulip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Zulip mirror of Basecamp activity # Zulip mirror of Basecamp activity

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Zulip mirror of Codebase HQ activity # Zulip mirror of Codebase HQ activity

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Zulip notification post-receive hook. # Zulip notification post-receive hook.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Zulip hook for Mercurial changeset pushes. # Zulip hook for Mercurial changeset pushes.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import optparse import optparse
import zulip import zulip

View File

@ -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. # git-p4.py -- A tool for bidirectional operation between a Perforce depot and git.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2012-2014 Zulip, Inc. # Copyright © 2012-2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# RSS integration for Zulip # RSS integration for Zulip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Zulip notification post-commit hook. # Zulip notification post-commit hook.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2014 Zulip, Inc. # Copyright © 2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Twitter integration for Zulip # Twitter integration for Zulip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Twitter search integration for Zulip # Twitter search integration for Zulip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import absolute_import from __future__ import absolute_import
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
import subprocess import subprocess

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
from __future__ import absolute_import from __future__ import absolute_import
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sys import sys
import time import time

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python2.7 #!/usr/bin/env python
# #
# EXPERIMENTAL # EXPERIMENTAL
# IRC <=> Zulip mirroring bot # IRC <=> Zulip mirroring bot

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Copyright (C) 2014 Zulip, Inc. # Copyright (C) 2014 Zulip, Inc.
# #
# Permission is hereby granted, free of charge, to any person # Permission is hereby granted, free of charge, to any person

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# #
# Copyright (C) 2013 Permabit, Inc. # Copyright (C) 2013 Permabit, Inc.
# Copyright (C) 2013--2014 Zulip, Inc. # Copyright (C) 2013--2014 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import subprocess import subprocess
import os import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import subprocess import subprocess
import base64 import base64

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import os import os
import logging import logging

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Copyright (C) 2012 Zulip, Inc. # Copyright (C) 2012 Zulip, Inc.
# #
# Permission is hereby granted, free of charge, to any person # Permission is hereby granted, free of charge, to any person

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Copyright (C) 2012 Zulip, Inc. # Copyright (C) 2012 Zulip, Inc.
# #
# Permission is hereby granted, free of charge, to any person # Permission is hereby granted, free of charge, to any person

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Copyright (C) 2012 Zulip, Inc. # Copyright (C) 2012 Zulip, Inc.
# #
# Permission is hereby granted, free of charge, to any person # Permission is hereby granted, free of charge, to any person

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
# Remove HTML entity escaping left over from MediaWiki->rST conversion. # Remove HTML entity escaping left over from MediaWiki->rST conversion.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import json import json

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import subprocess import subprocess
import requests import requests

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import os import os
import sys import sys
import logging import logging

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that none of our queue workers have reported errors. Nagios plugin to check that none of our queue workers have reported errors.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that the rabbitmq has the correct number of consumers. Nagios plugin to check that the rabbitmq has the correct number of consumers.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that the rabbitmq queues are not overflowing as a result Nagios plugin to check that the rabbitmq queues are not overflowing as a result

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Script to provide information about send-receive times. Script to provide information about send-receive times.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check the difference between the primary and Nagios plugin to check the difference between the primary and

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check the length of the FTS update log. Nagios plugin to check the length of the FTS update log.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import dateutil.parser import dateutil.parser

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Processes updates to postgres Full Text Search for new/edited messages. # Processes updates to postgres Full Text Search for new/edited messages.
# #
# Zulip manages its postgres full-text search as follows. When the # Zulip manages its postgres full-text search as follows. When the

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that Zephyr personals mirrors are forwarding. Nagios plugin to check that Zephyr personals mirrors are forwarding.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that our MIT users' Zephyr mirrors are running. Nagios plugin to check that our MIT users' Zephyr mirrors are running.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Nagios plugin to check that Zephyr mirror forwarding is running. Nagios plugin to check that Zephyr mirror forwarding is running.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import subprocess import subprocess

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2009 Edgewall Software

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2009 Edgewall Software

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright (C)2008-2009 Edgewall Software # Copyright (C)2008-2009 Edgewall Software

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright © 2013 Zulip, Inc. # Copyright © 2013 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import absolute_import from __future__ import absolute_import
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import logging import logging
import os import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import shutil import shutil

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# #
# This script contains the actual logic for upgrading from an old # This script contains the actual logic for upgrading from an old
# version of Zulip to the new version. upgrade-zulip-stage-2 is # version of Zulip to the new version. upgrade-zulip-stage-2 is

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import time import time
def nagios_from_file(results_file): def nagios_from_file(results_file):

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import os import os
import logging import logging

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# This tools generates local_settings_generated.py using the template # This tools generates local_settings_generated.py using the template
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import subprocess import subprocess

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import absolute_import from __future__ import absolute_import
from __future__ import print_function from __future__ import print_function
import glob import glob

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import absolute_import from __future__ import absolute_import
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import division from __future__ import division
from __future__ import print_function from __future__ import print_function
import datetime import datetime

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# #
# Generates % delta activity metrics from graphite/statsd data # Generates % delta activity metrics from graphite/statsd data
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2013 Zulip, Inc. # Copyright © 2013 Zulip, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# #
# This is tool for injecting messages during a usability study. It's # This is tool for injecting messages during a usability study. It's
# likely useless for other applications. # likely useless for other applications.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# encoding: utf-8 # encoding: utf-8
# #
# Copyright (C) 2010 Ksplice, Inc. # Copyright (C) 2010 Ksplice, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sys import sys
import re import re

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Minifies JavaScripts, creating source maps # Minifies JavaScripts, creating source maps

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# #
# Zulip's post-receive hook. There is a symlink # Zulip's post-receive hook. There is a symlink
# from /home/git/repositories/eng/zulip.git/hooks/post-receive # from /home/git/repositories/eng/zulip.git/hooks/post-receive

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sh import sh
import os import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# This script is only meant to be run from run-dev.py, which sets up the # This script is only meant to be run from run-dev.py, which sets up the
# environment correctly and passes the correct arguments for manage.py. It is a # environment correctly and passes the correct arguments for manage.py. It is a

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import optparse import optparse
import subprocess import subprocess
import signal import signal

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
import sys import sys
import os import os
import simplejson import simplejson

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import shutil import shutil

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import sys import sys
import pstats import pstats

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import optparse import optparse

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import re import re
from collections import defaultdict from collections import defaultdict

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# Updates static files for production. # Updates static files for production.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright © 2014 Dropbox, Inc. # Copyright © 2014 Dropbox, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
""" """
Fenced Code Extension for Python Markdown Fenced Code Extension for Python Markdown

View File

@ -1,5 +1,5 @@
from __future__ import absolute_import from __future__ import absolute_import
#!/usr/bin/env python2.7 #!/usr/bin/env python
# This file is adapted from samples/shellinabox/ssh-krb-wrapper in # This file is adapted from samples/shellinabox/ssh-krb-wrapper in
# https://github.com/davidben/webathena, which has the following # https://github.com/davidben/webathena, which has the following
# license: # license:

Some files were not shown because too many files have changed in this diff Show More