api: Include get_subscribers endpoint in public release.

It's possible we should just eliminate this mechanism, but this fixes
a proximal problem where the multi-line get_subscribers endpoint
description was being handled wrong.
This commit is contained in:
Tim Abbott 2016-01-07 20:58:58 -08:00
parent fdf708039b
commit d3588cb7d0
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set -x
cd api/
# Strip out non-send_message bindings.
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/ ||m/get_messages/ ||m/add_subscriptions/ ||m/list_subscriptions/ ||m/remove_subscriptions/ ||m/get_streams/ ||m/get_members/ ||m/_register.*register/ ||m/get_events/' zulip/__init__.py
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/ ||m/get_messages/ ||m/add_subscriptions/ ||m/list_subscriptions/ ||m/remove_subscriptions/ ||m/get_streams/ ||m/get_members/ ||m/_register.*register/ ||m/get_events/ ||m/get_subscribers/' zulip/__init__.py
python setup.py sdist
mv zulip/__init__.py.bak zulip/__init__.py
echo API tarball written to api/dist