OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 import cgi | 8 import cgi |
9 import datetime | 9 import datetime |
10 import urllib | 10 import urllib |
11 import wsgiref.handlers | 11 import wsgiref.handlers |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 ], debug=True) | 145 ], debug=True) |
146 | 146 |
147 | 147 |
148 def main(): | 148 def main(): |
149 run_wsgi_app(application) | 149 run_wsgi_app(application) |
150 | 150 |
151 | 151 |
152 if __name__ == '__main__': | 152 if __name__ == '__main__': |
153 main() | 153 main() |
OLD | NEW |