Commits

Remi Delon  committed f7c3506

Removed python-2.1 support

  • Participants
  • Parent commits e8a2fc8
  • Branches cherrypy

Comments (0)

Files changed (1)

File _cphttptools.py

                 stat = os.stat(fname)
             except OSError:
                 raise cperror.NotFound
-            if type(stat) == type(()): # Python2.1
-                modifTime = stat[9]
-            else:
-                modifTime = stat.st_mtime
+            modifTime = stat.st_mtime
 
             strModifTime = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(modifTime))