~deuns-martinez/loggerhead/flup

« back to all changes in this revision

Viewing changes to loggerhead/main.py

  • Committer: Denis Martinez
  • Date: 2009-11-27 18:09:41 UTC
  • Revision ID: deuns.martinez@gmail.com-20091127180941-rs0zli1dk86rpp24
sys.exit(1) instead of return

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
            from flup.server.ajp import WSGIServer
168
168
        else:
169
169
            print >> sys.stderr, 'Unknown protocol: %s.' % (protocol)
170
 
            return
 
170
            sys.exit(1)
171
171
        WSGIServer(app, bindAddress=(host, int(port))).run()