Mercurial > code > home > repos > homeauto
comparison lib/cycloneerr.py @ 430:053fd552b675
some py3
Ignore-this: 575bf1c73876b835134c0ac12b957ad2
author | drewp@bigasterisk.com |
---|---|
date | Sun, 07 Apr 2019 03:57:56 -0700 |
parents | be855a111619 |
children | 3d51d4b63497 |
comparison
equal
deleted
inserted
replaced
429:fcd2c026f51e | 430:053fd552b675 |
---|---|
1 import httplib, cgi | 1 try: |
2 import httplib | |
3 except ImportError: | |
4 import http.client as httplib | |
5 import cgi | |
2 | 6 |
3 class PrettyErrorHandler(object): | 7 class PrettyErrorHandler(object): |
4 """ | 8 """ |
5 mix-in to improve cyclone.web.RequestHandler | 9 mix-in to improve cyclone.web.RequestHandler |
6 """ | 10 """ |