python-zulip-api/examples
Keegan McAllister 396861feb1 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
..
curl-examples Move files around in the API. 2013-02-01 15:52:28 -05:00
get-public-streams Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
humbugrc Be more explicit as to where .humbugrc goes 2013-02-05 16:35:45 -05:00
list-members Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
list-subscriptions Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
print-messages Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
print-next-message Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
send-message Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
subscribe Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
unsubscribe Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00