mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 14:26:55 +00:00
Fix Compliance Issues (flake8)
This commit is contained in:
parent
105c14644a
commit
c67bf9a9ad
@ -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
|
||||
|
||||
|
||||
|
||||
@ -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'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user