Use module docstring for usage information

(imported from commit 7c1cbf68eca4e3f31c75bfe13b50654e76be0df3)
This commit is contained in:
Luke Faraone 2013-12-17 16:21:48 -05:00 committed by Tim Abbott
parent cf5b7dc0e4
commit 1005e2ae7c
1 changed files with 1 additions and 4 deletions

View File

@ -109,10 +109,7 @@ def main():
d.addBoth(done)
class Command(BaseCommand):
help = """Forward emails sent to the configured email gateway to Zulip.
Run this command out of a cron job.
"""
help = __doc__
def handle(self, **options):
if (not settings.EMAIL_GATEWAY_BOT or not settings.EMAIL_GATEWAY_LOGIN or