I meant the declaration not the global itself. (In any case, globals are bad practice.)

See below for the problems with the code. Just based on pyflakes static analysis, I don't think you have tested lines 99 through 123. If those lines were executed, Python would throw an error. So that makes me think that all this `last_atime` stuff is not useful at all.

```bash
$ pyflakes restviewhttp.py 
restviewhttp.py:100: undefined name 'last_atime'
restviewhttp.py:105: undefined name 'last_atime'
```