Consistently use /usr/bin/env python2.7 in shebangs and commands.

This commit is contained in:
Steven Oud 2015-10-04 18:56:26 +02:00 committed by Luke Faraone
parent 8281e557b1
commit b0325fef5b
45 changed files with 47 additions and 47 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.7
# -*- 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 python #!/usr/bin/env python2.7
import sys import sys
import time import time
import optparse import optparse

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.7
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 python #!/usr/bin/env python2.7
import sys import sys
import time import time
import datetime import datetime

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2.7
# #
# EXPERIMENTAL # EXPERIMENTAL
# IRC <=> Zulip mirroring bot # IRC <=> Zulip mirroring bot
@ -92,11 +92,11 @@ class IRCBot(irc.bot.SingleServerIRCBot):
return return
self.dcc_connect(address, port) self.dcc_connect(address, port)
usage = """python irc-mirror.py --server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> [optional args] usage = """python2.7 irc-mirror.py --server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> [optional args]
Example: Example:
python irc-mirror.py --irc-server=127.0.0.1 --channel='#test' --nick-prefix=username python2.7 irc-mirror.py --irc-server=127.0.0.1 --channel='#test' --nick-prefix=username
--site=https://zulip.example.com --user=irc-bot@example.com --site=https://zulip.example.com --user=irc-bot@example.com
--api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.7
# 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/python #!/usr/bin/env python2.7
# #
# 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/python #!/usr/bin/env python2.7
import subprocess import subprocess
import os import os
import sys import sys

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.7
# -*- 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 python #!/usr/bin/env python2.7
import optparse import optparse
import zulip import zulip

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2.7
# -*- 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 python #!/usr/bin/env python2.7
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os import os