Fix Compliance Issues (flake8)

This commit is contained in:
BJ Dierkes 2018-04-13 11:45:22 -05:00
parent 105c14644a
commit c67bf9a9ad
2 changed files with 4 additions and 0 deletions

View File

@ -160,8 +160,11 @@ original_prepare = pybars._compiler.prepare
def my_prepare(value, escape):
return original_prepare(value, False)
pybars._compiler.prepare = my_prepare
from pybars import Compiler # noqa

View File

@ -48,6 +48,7 @@ def backup(path, suffix='.bak'):
break
return new_path
# Kinda dirty, but should resolve issues on Windows per #183
if 'HOME' in os.environ:
HOME_DIR = abspath(os.environ['HOME'])