Define LockFile in exactly one place with clear logic. Fixes F811.
Define LockFile in exactly one place with clear logic. Fixes F811.

Safihre/cherrypy,cherrypy/cherrypy,cherrypy/cherrypy,Safihre/cherrypy