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

Changeset 145

Show
Ignore:
Timestamp:
02/12/05 05:04:16
Author:
rdelon
Message:

Removed python-2.1 support

Files:

Legend:

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

    r142 r145  
    331331            except OSError: 
    332332                raise cperror.NotFound 
    333             if type(stat) == type(()): # Python2.1 
    334                 modifTime = stat[9] 
    335             else: 
    336                 modifTime = stat.st_mtime 
     333            modifTime = stat.st_mtime 
    337334 
    338335            strModifTime = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(modifTime)) 

Hosted by WebFaction

Log in as guest/cpguest to create tickets