gkeys.log: Isolate file-handler code in the logpath branch file-handler-cleanup
authorW. Trevor King <wking@tremily.us>
Sat, 14 Jun 2014 17:34:10 +0000 (10:34 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 14 Jun 2014 17:38:44 +0000 (10:38 -0700)
commit2a70f6c68f81bd38777eca8550f8a20b7dd65a0e
tree6664c2a206c61d32e288921ec35a3bb3f89efac0
parent95c14136bdb36bc8a23f68b2a4a118302b02919b
gkeys.log: Isolate file-handler code in the logpath branch

There's no need for this variable if logpath isn't set, so remove the
global variable and external references.

Also downcase it to the more Pythonic 'file_handler'.  PEP8 doesn't
even recognize a 'Sentence_case' naming style [1].

[1]: http://legacy.python.org/dev/peps/pep-0008/#descriptive-naming-styles
gkeys/log.py