PEP fixes

This commit is contained in:
Oliver Walters 2019-08-14 13:15:36 +10:00
parent a7bf031e4a
commit 0a97bc1b40

View File

@ -17,10 +17,12 @@ import logging
import tempfile
import yaml
def eprint(*args, **kwargs):
""" Print a warning message to stderr """
print(*args, file=sys.stderr, **kwargs)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))