Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1738

Show
Ignore:
Timestamp:
10/05/07 11:39:50
Author:
fumanchu
Message:

Fix for # 738 (Misspelled except statement shadows builtin KeyError? exception).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cplogging.py

    r1717 r1738  
    196196        try: 
    197197            stream = cherrypy.request.wsgi_environ.get('wsgi.errors') 
    198         except AttributeError, KeyError
     198        except (AttributeError, KeyError)
    199199            pass 
    200200        else: 
     
    205205        try: 
    206206            stream = cherrypy.request.wsgi_environ.get('wsgi.errors') 
    207         except AttributeError, KeyError
     207        except (AttributeError, KeyError)
    208208            pass 
    209209        else: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets