fix a few bugs and remove unused imports

This commit is contained in:
Alan Hamlett 2015-02-10 12:09:32 -08:00
parent b877310f02
commit d3a31fc72d
6 changed files with 3 additions and 7 deletions

View file

@ -10,7 +10,6 @@
"""
import logging
import os
log = logging.getLogger('WakaTime')

View file

@ -34,7 +34,7 @@ class WakaTime(BaseProject):
with open(self.config, 'r', encoding='utf-8') as fh:
self._project_name = u(fh.readline().strip())
self._project_branch = u(fh.readline().strip())
except IOError as e:
except IOError:
log.exception("Exception:")
return True