zulip/zephyr/lib
Keegan McAllister 75704ad1e8 Consistently use #!/usr/bin/env python
At Ksplice we used /usr/bin/python because we shipped dependencies as Debian /
Red Hat packages, which would be installed against the system Python.  We were
also very careful to use only Python 2.3 features so that even old system
Python would still work.

None of that is true at Humbug.  We expect users to install dependencies
themselves, so it's more likely that the Python in $PATH is correct.  On OS X
in particular, it's common to have five broken Python installs and there's no
expectation that /usr/bin/python is the right one.

The files which aren't marked executable are not interesting to run as scripts,
so we just remove the line there.  (In general it's common to have libraries
that can also be executed, to run test cases or whatever, but that's not the
case here.)

(imported from commit 437d4aee2c6e66601ad3334eefd50749cce2eca6)
2013-02-20 16:02:30 -05:00
..
bugdown Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
__init__.py Add simple parallel computation library. 2012-09-14 13:32:25 -04:00
actions.py Use bulk_create to create sent messages. 2013-02-19 17:36:22 -05:00
avatar.py Factor out Gravatar hash calculation 2012-10-17 01:09:16 -04:00
bulk_create.py Move create_user to its own file. 2013-02-19 17:36:22 -05:00
cache.py tornado: Cache messages internally in tornado process. 2013-01-11 16:11:07 -05:00
context_managers.py Manage file locking using the 'with' statement 2012-11-16 13:43:44 -05:00
create_user.py Move create_user to its own file. 2013-02-19 17:36:22 -05:00
initial_password.py Generate initial API keys in the same manner as passwords 2012-10-17 18:23:01 -04:00
message_cache.py tornado: Fill the message memcached in a child process. 2013-01-14 12:28:51 -05:00
parallel.py Remove unused imports 2012-10-25 15:22:18 -04:00
query.py Add a Django query helper 2012-09-28 19:33:15 -04:00
queue.py Handle SIGINT and SIGTERM in process_user_activity by closing communication gracefully 2013-02-15 11:05:31 -05:00
response.py Move json response functions into their own file 2012-11-08 16:30:57 -05:00
timeout.py timeout: Try to kill the thread once the timeout expires 2013-01-30 11:13:48 -05:00
timestamp.py Rename zephyr.lib.time to zephyr.lib.timestamp. 2013-01-11 15:58:19 -05:00