Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Emit deprecation notice from runbillingserver management command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerith committed Mar 10, 2015
1 parent cf87c8f commit ff9d2f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go/billing/management/commands/runbillingserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class Command(BaseCommand):
def handle(self, *args, **options):
"""Run the Billing server"""

self.stderr.write(
"NOTE: This command is deprecated. Use twistd and"
" go.billing.api.billing_api_resource to start the billing API.")

def connection_established(connection_pool):
from twisted.web.server import Site
root = api.Root(connection_pool)
Expand Down

0 comments on commit ff9d2f4

Please sign in to comment.