cubicweb/wsgi/__init__.py
changeset 12567 26744ad37953
parent 11767 432f87a63057
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    25 
    25 
    26 """
    26 """
    27 
    27 
    28 
    28 
    29 from email import message, message_from_string
    29 from email import message, message_from_string
       
    30 from http.cookies import SimpleCookie
    30 from pprint import pformat as _pformat
    31 from pprint import pformat as _pformat
    31 
    32 
    32 from six.moves.http_cookies import SimpleCookie
       
    33 
    33 
    34 def pformat(obj):
    34 def pformat(obj):
    35     """pretty prints `obj` if possible"""
    35     """pretty prints `obj` if possible"""
    36     try:
    36     try:
    37         return _pformat(obj)
    37         return _pformat(obj)