From b3341e3cbc7f952ba78a77f6ed71c975b9e38472 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 17 Feb 2010 09:47:09 +0100 Subject: [PATCH] since refactoring we just need to print the address. --- gunicorn/management/commands/run_gunicorn.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gunicorn/management/commands/run_gunicorn.py b/gunicorn/management/commands/run_gunicorn.py index b88f46cd..de26656c 100644 --- a/gunicorn/management/commands/run_gunicorn.py +++ b/gunicorn/management/commands/run_gunicorn.py @@ -58,10 +58,8 @@ class Command(BaseCommand): self.validate(display_num_errors=True) print "\nDjango version %s, using settings %r" % (django.get_version(), settings.SETTINGS_MODULE) - if isinstance(conf.address, basestring): - print "Development server is running at unix:/%s" % conf.address - else: - print "Development server is running at http://%s:%s/" % conf.address + + print "Development server is running at %s" % str(conf.address) print "Quit the server with %s." % quit_command # django.core.management.base forces the locale to en-us.