Mercurial > code > home > repos > homeauto
comparison lib/cycloneerr.py @ 1233:5d97ed6118db
some py3
Ignore-this: 575bf1c73876b835134c0ac12b957ad2
darcs-hash:571621cdabfbb5e697741bc127bd7e2b2cf022b7
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 07 Apr 2019 03:57:56 -0700 |
parents | bebb8f7c5a3e |
children | 3d51d4b63497 |
comparison
equal
deleted
inserted
replaced
1232:b50a13ef20ba | 1233:5d97ed6118db |
---|---|
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 """ |